QUOTE (snutting @ Jun 3 2009, 01:22 PM)
Here is all my script that I am using to test does:
$elog= dirname(__FILE__) . '/error_log.txt';
$stat=mail("MYEMAILADDRESS","TEST","TEST","From: \"CTDerm PC Website\"<email@example.com>\r\n");
print "mail: ".$stat;
The $stat comes back every time with a 1. I do not get any errors at all. The email according to PHP seems to be sent but I do not get any emails to 3 separate accounts(1 local, 1 gmail, 1 yahoo) that I send to. And there is no spam emails received for any of them either. Like I said before this was working fine with absolutely no changes until recently. I have not touched this site's scripts at all for months but now it is failing.
NOTE: The mail records are not hosted with Network Solutions only the website is. The MX records point to a local outlook server. Not sure if that makes any difference? Also note it has been this way since this site was setup and has functioned and sent emails fine in the past.
I tested your hosting package and confirmed the issue you are experiencing; there is some issue with the mail() function on your hosting package.
I've escalated this for resolution.
Also, if you change your scripting to use PEAR::Mail instead of the mail() function, it is currently working properly on your package, and will nearly always deliver the messages faster than using mail().