I have built a simple email in PHP that had been working fine for about 6 months. My host has updated PHP to 4.3.11 and it has stopped working. Anybody else had this issue or any suggestions?
Even this simple email script doesnt work.
<?
$to = "xxxxxx@somewhere.net";
$subject = "ZDNet Developer article";
$msg = "I completely understand SMTP servers now!";
$headers = "From: me@mycompany.com\nReply-To: someoneelse@mycompany.com";
$config = "-fwebmaster@mycompany.com";
mail("$to", "$subject", "$msg", "$headers", "$config");
echo "finished!";
?>
Even this simple email script doesnt work.
<?
$to = "xxxxxx@somewhere.net";
$subject = "ZDNet Developer article";
$msg = "I completely understand SMTP servers now!";
$headers = "From: me@mycompany.com\nReply-To: someoneelse@mycompany.com";
$config = "-fwebmaster@mycompany.com";
mail("$to", "$subject", "$msg", "$headers", "$config");
echo "finished!";
?>