The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Need help please email function not working.

Hi all, I am having a problem but I am not sure why this Email function is not working. This is my script to send out a short newsletter to some people on the website. It pulls their email address if they have the newsletter feature enabled. When i run the script it says how many emails were sent. But the emails never go thru. I dont get any errors. Currently 9 emails should be sent and It says they were. But the emails never get delivered. If anyone can help me to figure out why the emails are not going thru I would appreciate it much. Thank all.

Clamcrusher, you know I am a newb, and whenever i post a new thread your advice is usually right on the money and I resolve alot of issues thanks to your advice. So thanks. I am not sure how to use vae_dump() the call to mail() feature.. I am sorry but can you please explain hot o add that into my code?

Warning: mail() expects at least 3 parameters, 1 given in /home/content/a/l/p/a/html/siteadmin/Mail.php on line 16
NULL
Warning: mail() expects at least 3 parameters, 1 given in /home/content/a/l/p/a/html/siteadmin/Mail.php on line 16
NULL
Warning: mail() expects at least 3 parameters, 1 given in /home/content/a/l/p/a/html/siteadmin/Mail.php on line 16
NULL
Warning: mail() expects at least 3 parameters, 1 given in /home/content/a/l/p/a/html/siteadmin/Mail.php on line 16
NULL
Warning: mail() expects at least 3 parameters, 1 given in /home/content/a/l/p/a/html/siteadmin/Mail.php on line 16
NULL
Warning: mail() expects at least 3 parameters, 1 given in /home/content/a/l/p/a/html/siteadmin/Mail.php on line 16
NULL
Warning: mail() expects at least 3 parameters, 1 given in /home/content/a/l/p/a/html/siteadmin/Mail.php on line 16
NULL
Warning: mail() expects at least 3 parameters, 1 given in /home/content/a/l/p/a/html/siteadmin/Mail.php on line 16
NULL
Warning: mail() expects at least 3 parameters, 1 given in /home/content/a/l/p/a/html/siteadmin/Mail.php on line 16
NULL

Ok Clamcrusher I got it working but I had to pull out the line of code that was supposed to put the from email address into the email that goes out. This is the line of code it seems it wasnt pulling the email address out of the database. That was the problem <$aset[ContactEmail]>

more like its undefined. had you turned up error reporting, it would have been obvious. continually, you do not turn up error reporting. errors are good. you want to see them. i dont know why i keep repeating myself over and over for you, seems like it does no good.