mail() Returned mail: Data format error (
| From: | SeanW | Date: | Fri, 26 Apr 2002 10:27:57 +0000 |
| Subject: | mail() Returned mail: Data format error ( | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-94721@lists.php.net to get a copy of this message | ||
Using this command
mail(
$mailrow[email],
$subject,
$spamstr,
"From: me@mydomain\r\n
Content-type: text/html; charset=us-ascii\r\n
Contenet-Transfer-Encoding: 7bit\r\n
MIME-Version: 1.0n"
);
I get bounces only from some servers with this message ,
Date: Mon, 15 Apr 2002 01:42:15 +1000
From: Mail Delivery Subsystem <MAILER-DAEMON@localhost.localdomain>
To: nobody@localhost.localdomain
Subject: Returned mail: Data format error
The original message was received at Mon, 15 Apr 2002 01:42:07 +1000
from nobody@localhost
----- The following addresses had permanent fatal errors -----
info@xxxxxxxxxx
----- Transcript of session follows -----
... while talking to mx0.hyperlink.net.au.:
>>> MAIL From:<nobody@localhost.localdomain> SIZE=18853 BODY=8BITMIME
<<< 553 5.1.8 <nobody@localhost.localdomain>... Domain of sender address
nobody@localhost.localdomain does not exist
501 info@xxxxxxxxx... Data format error
Again most of the email go through but not for some, why does my domain how
as localhost.
Sean