I have several mail scripts on different domains that have been working on my former server which runs PHP Version 4.2.1. I have moved my domains to another server which runs PHP Version 4.2.3.
After moving these scripts to the new server they have stopped working.
I have looked over the configurations in the php.ini and everything that seems to be relevant seems to be the same.
new -- http://www.firehosting.com/phpinfo.php
old -- http://www.rosegardenenterprises.com/phpinfo.php
My code is as listed --
$headers = "From: \"$sender_name\" <$sender_email>\n";
mail("me@mydomain.com", "mydomain.com Contact", $message, $headers);
This code has been working up to the time that I moved to the new server.
This new server is a dedicated server that is leased by me. I have ability to change alot, if I know what is 'broken'.