From:             chris at atmosphere dot co dot nz
Operating system: Win32 (Win2K Server)
PHP version:      4.3.4
PHP Bug Type:     Mail related
Bug description:  Mail administartor reports server errors from php generated emails

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 <[EMAIL PROTECTED]



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 bug report at http://bugs.php.net/?id=27599&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27599&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27599&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27599&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27599&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27599&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27599&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27599&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27599&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27599&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27599&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27599&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27599&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27599&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27599&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27599&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27599&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27599&r=float

Reply via email to