Howdy all,
I have a typical Forgot Password page. It generates a new random password, updates the database, then emails the password.
I've tried this script on my work email, my website email, and my gmail accounts. The only one that ever receives the email is the gmail one. My work email has a spam filter, but the IT guy says that he's not seeing any of the emails. My website email has no filters at all.
I read a similar post in this forum but no solution was found. Does anybody know what could possibly be causing this?
Here is the line that calls the mail() function:
if (mail ($email, 'Subject line', $body, 'From: [email]webmaster@mywebsite.com[/email]') ) {
echo 'MAIL SENT SUCCESSFULLY<br />';
}
The SUCCESS echo statement is always displayed, and i have other echo statements to display the email address and such before i call mail() which all show valid data.