#25254 [Bgs]: Using /r/n in mailheaders causes mailbody to become currupt
ID: 25254
User updated by: ts at dreamcoder dot dk
Reported By: ts at dreamcoder dot dk
Status: Bogus
Bug Type: Mail related
Operating System: Linux
PHP Version: 4.3.3
New Comment:
This bug was fixed in 4.3.4, works for me now...
Might also be because I switched to redhat, who knows
Previous Comments:
------------------------------------------------------------------------
[2003-10-09 06:46:16] sniper@php.net
Works fine with sendmail.
------------------------------------------------------------------------
[2003-10-08 13:52:16] ts at dreamcoder dot dk
I just tested this with 4.3.4RC2-dev (as requested), it's exactly the
same problem
I also tried sending mail using PHPMailer (the class).
Sending mails directly to the SMTP with \r\n works just fine
However when using PHP's mail() and \r\n, it fails to send correctly,
as described in the original bug
I have PostFix 2.0.16 installed - if that has any relevance
I cannot rule out this could be a bug in Postfix, but I doubt it
------------------------------------------------------------------------
[2003-10-07 19:16:11] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2003-08-27 01:13:50] ts at dreamcoder dot dk
It's still an issue in terms of BC.
As I mentioned, it worked fine in 4.3.2
------------------------------------------------------------------------
[2003-08-26 23:50:45] sniper@php.net
Either using \r\n or just \n works just fine for me.
Not PHP bug.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/25254
--
Edit this bug report at http://bugs.php.net/?id=25254&edit=1
Thread (9 messages)