Hi, I use PHP's Mail() Function to send confirmation emails with an activation link in it, to users after the sign up to my site. However, many have complained that they do not receive the emails despite looking through their junk filters etc... some however, do get them. Is this because hotmail or Yahoo or other email providers automatically block incoming emails from unaccounted-for senders? Do I need special headers? Help appreciated, Lee.
Are you checking there aren't any problems trying to send it? I.e. you check the return value of mail() to be true/false rather than just having the mail() function on its own.
It's fine. I receive the emails and many other do too. Yet, some don't. I've checked the validity of the emails in question, and they're fine.
Here's a tutorial for it incase you have problems. http://www.phpfreaks.com/tutorials/130/0.php The examples should be quite helpful too. http://phpmailer.sourceforge.net/extending.html