Ok, so I'm kinda stumped and could really use some help. I set up a PHP mail script on my own server and everything worked great. Then when I moved it to my client's server, one of the email addresses in the script no longer receives the generated message. There are 6 recipients in total on various domains including google, godaddy, etc. All of the email addresses received the PHP mail when the script was hosted on my own server, but one of them stopped receiving the PHP mail once I moved the script to my client's server.
I am providing a copy of the script and the bounceback message that was received once I moved the script over (email addresses omitted for privacy). I am able to send messages directly from my email address to the recipient, however I cannot use the script to do it. Any suggestions on why this is happening? Thanks in advance!
$to = "firstname.lastname@example.org,email@example.com,firstname.lastname@example.org,email@example.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "firstname.lastname@example.org";
$headers = "From:" . $from;
echo "Mail Sent.";
I received this bounceback after transferring the script to the client's server:
[I]This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
No Such User Here
------ This is a copy of the message, including all the headers. ------
Received: from username by hostingserver.com with local (Exim 4.69)
id 1UAqjf-0000Jp-KV; Wed, 27 Feb 2013 18:48:31 -0500
Subject: Test mail
Date: Wed, 27 Feb 2013 18:48:31 -0500
Hello! This is a simple email message.[/I]