I'm using a ISP to host my PHP based website and one of my users told me the webform I built doesn't work anymore. So, I investigated and it looked fine - so I built a simpler script as follows:
<?PHP
$flag = mail("myemail@email.com", "TESTING", "DELETE ME");
if($flag)
print "Mail was sent";
else
print "Mail failed<BR>";
phpinfo();
?>
Now, the script says it works, my ISP says they didn't change anything and it looks like they are still using sendmail as their mail server (from the phpinfo()). I'm completely stumped on this because it worked before - no reason to believe it won't continue to work.
Can someone help me out?