#27599 [Opn->Csd]: Mail administartor reports server errors from php generated emails
| From: | sniper@php.net | Date: | Mon, 15 Mar 2004 12:42:39 +0000 |
| Subject: | #27599 [Opn->Csd]: Mail administartor reports server errors from php generated emails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-56466@lists.php.net to get a copy of this message | ||
ID: 27599
Updated by: sniper@php.net
Reported By: chris at atmosphere dot co dot nz
-Status: Open
+Status: Closed
Bug Type: Mail related
Operating System: Win32 (Win2K Server)
PHP Version: 4.3.4
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2004-03-14 23:06:03] chris at atmosphere dot co dot nz
Description:
------------
Mail administrator reports the following:
------------------------------------------------------
still getting these from Kerio
[15/Mar/2004 13:30:16] Illegal line end (LF) in SMTP DATA converted to
CRLF
(from <postmaster@awards....
you might need to specifically end your data with a ".\r\n"
your 'datasend' should do that for you however...
If specified the contents of DATA and a termination string ".\r\n" is
sent
to the server
RFC says that smtp cmd 354 Start mail input; end with <CRLF>.<CRLF>.
------------------------------------------------------
Reproduce code:
---------------
mail($EMAIL,"$PROMONAME: Online Order",$msg,"From: $PROMONAME
<$EMAIL>");
Expected result:
----------------
mail sends without error
Actual result:
--------------
mail appears to send.
server reports & logs error, but send message anyhow.
mail administrator gets his knickers in a twist.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27599&edit=1