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!
<?php
$to = "client@client.com,myemail1@myemail1.com,myemail2@myemail2.com,myemail3@myemail3.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "me@me.com";
$headers = "From:" . $from;
mail($to,$subject,$message,$headers, "-fme@me.com");
echo "Mail Sent.";
?>
I received this bounceback after transferring the script to the client’s server:
[I][COLOR=“#696969”]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:
client@client.com
No Such User Here
------ This is a copy of the message, including all the headers. ------
Return-path: <me@me.com>
Received: from username by hostingserver.com with local (Exim 4.69)
(envelope-from <me@me.com>)
id 1UAqjf-0000Jp-KV; Wed, 27 Feb 2013 18:48:31 -0500
To: client@client.com,myemail1@myemail1.com,myemail2@myemail2.com,myemail3@myemail3.com
Subject: Test mail
From:me@me.com
Message-Id: <E1UAqjf-0000Jp-KV@hostingserver.com>
Date: Wed, 27 Feb 2013 18:48:31 -0500
Hello! This is a simple email message.[/COLOR][/I]