I am using following code to send email whosoever registers.
$recmail = '[email protected]'; // address you want the form mailed to
$sub = "Atlas Corps Questionnaire"; //subject of email that is sent
$mess = "Hello, Please fill a questionnaire at following link. ";
$headers = "From: Atlas Corps Family Tree < [email protected] > \n" .
"MIME-Version: 1.0\n" .
"Content-type: text/html; charset=iso-8859-1";
mail($recmail,$sub,$mess,$headers);
My [email protected] is a valid Gmail Account. But i am not receiving any emails here. I have checked all my setting of gmail properly. No forwarding and filtering is applied.
where as my other Gmail Account: [email protected] Is receiving all the emails through this website.
Please help, as all my customers will have the @atlascorps.org email account on Gmail.
On Email Logs of the server, following message is there
Return-path: <>
Envelope-to: [email protected]
Delivery-date: Tue, 23 Sep 2014 08:56:11 -0700
Received: from mailnull by p3plcpnl0096.prod.phx3.secureserver.net with local (Exim 4.82)
id 1XWSRn-0003Fc-2A
for [email protected]; Tue, 23 Sep 2014 08:56:11 -0700
X-Failed-Recipients: [email protected]
Auto-Submitted: auto-replied
From: Mail Delivery System <[email protected]>
To: [email protected]
Subject: Mail delivery failed: returning message to sender
Message-Id: <[email protected]>
Date: Tue, 23 Sep 2014 08:56:11 -0700
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:
[email protected]
------ This is a copy of the message, including all the headers. ------
Return-path: <[email protected]>
Received: from atlascorpsadmin by p3plcpnl0096.prod.phx3.secureserver.net with local (Exim 4.82)
(envelope-from <[email protected]>)
id 1XWSRm-0003FX-Vo
for [email protected]; Tue, 23 Sep 2014 08:56:11 -0700
To: [email protected]
Subject: Atlas Corps Questionnaire
X-PHP-Script: atlascorps.org/globe/send_link.php for 122.176.7.34
X-PHP-Originating-Script: 209330:send_link.php
From: Atlas Corps Family Tree < [email protected] >
MIME-Version: 1.0
Content-type: text/html; charset=iso-8859-1
Message-Id: <[email protected]>
Hello