php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27599 Mail administartor reports server errors from php generated emails
Submitted: 2004-03-14 23:06 UTC Modified: 2004-03-15 07:42 UTC
From: chris at atmosphere dot co dot nz Assigned:
Status: Closed Package: Mail related
PHP Version: 4.3.4 OS: Win32 (Win2K Server)
Private report: No CVE-ID: None
 [2004-03-14 23:06 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-15 07:42 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 02:01:30 2024 UTC