#29646 [Bgs]: mail() inserts change CRLF ("\r\n") to CRCRLF ("\r\r\n") for some extra headers
| From: | shelby at coolpage dot com | Date: | Mon, 23 Aug 2004 18:32:43 +0000 |
| Subject: | #29646 [Bgs]: mail() inserts change CRLF ("\r\n") to CRCRLF ("\r\r\n") for some extra headers | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-65116@lists.php.net to get a copy of this message | ||
ID: 29646
User updated by: shelby at coolpage dot com
Reported By: shelby at coolpage dot com
Status: Bogus
Bug Type: Mail related
Operating System: FreeBSD
PHP Version: 4.3.4
New Comment:
Thanks for providing the additional information that you think it is a
bug in QMail. That would be logically consistent with my results in
not having the problem with PHP on SendMail.
I have also alerted Pair.com about my work-around.
Previous Comments:
------------------------------------------------------------------------
[2004-08-19 01:18:23] pollita@php.net
It's a qmail bug. That MTA attempts to automagically guess newlines
and does a bad job of it.
------------------------------------------------------------------------
[2004-08-18 23:11:35] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Until can be verified with latest PHP version, considered
bogus.
------------------------------------------------------------------------
[2004-08-18 19:44:51] shelby at coolpage dot com
No I will not do your work for you!
Your general assumption that it was fixed without specific knowledge it
was fixed is not enough to make me go through the hassle. In short I
doubt your assertion it is fixed, because:
1. You have not provided specific knowledge that it was fixed. It
seems you are just hoping it was, and want me to go through hassle to
prove it. You prove it. It is not my bug. It is YOUR bug.
2. You closed this other similar bug report in Feb. 2003:
http://bugs.php.net/bug.php?id=22262
But I am using a version from Nov. 2003:
coolpage@qs662% php -v
PHP 4.3.4 (cli) (built: Nov 4 2003 16:10:03)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
And this bug has been around since at least 2002 and has been ignored.
No related bug report has been marked as fixed. They were both closed
because the people who made the bug reports are not going to test it
for you:
http://bugs.php.net/bug.php?id=22262
http://bugs.php.net/bug.php?id=15841
You method of closing bug reports because reporters are not willing to
retest every time you decide to put a new version # on PHP is
ridiculous.
Have it your way...fix it or do not fix it... closing this bug report
does not mean it is fixed.
------------------------------------------------------------------------
[2004-08-17 08:11:30] derick@php.net
You're using a very old PHP version (4.3.4), I am very sure it was
fixed since. So try that snapshot.
------------------------------------------------------------------------
[2004-08-17 00:58:42] shelby at coolpage dot com
Also telling us to try the latest snapshot is useless unless you tell
us what is the correct use of the mail() function on Qmail.
Please see my original post and please answer the question as to what
is the correct documented use.
In the meantime, I have provided a documented use in my comments on
this bug which works and which I am suggesting that others link to, as
a replacement for the document for PHP mail(). Hopefully that will
generate enough pressure to finally fix this bug and also help people
work around it in meantime!
Correction: in previous post for work around, I said "if another header
follows". I believe I insert the "\r\n" and "\n", even after the last
header input to mail().
------------------------------------------------------------------------
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/29646
--
Edit this bug report at http://bugs.php.net/?id=29646&edit=1