#29646 [Fbk->Opn]: mail() inserts change CRLF ("\r\n") to CRCRLF ("\r\r\n") for some extra headers
| From: | shelby at coolpage dot com | Date: | Wed, 18 Aug 2004 17:44:53 +0000 |
| Subject: | #29646 [Fbk->Opn]: 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-64871@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: Feedback
+Status: Open
Bug Type: Mail related
Operating System: FreeBSD
PHP Version: 4.3.4
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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().
------------------------------------------------------------------------
[2004-08-17 00:52:38] shelby at coolpage dot com
Thanks, but has the latest snapshot been specifically edited to fix
this specific problem?
Because this problem as been around for years, and so only a specific
fix is worth my time.
Also I have no way to test the latest snapshot until my host Pair.com
upgrades.
I alerted Pair.com to this problem.
------------------------------------------------------------------------
[2004-08-17 00:49:37] shelby at coolpage dot com
I verified that the work around this bug for my configuration (as
previously mentioned) is to use "\r\n" only after the "From:",
"Reply-To:", "Cc:", and "Bcc:" headers, if there is another header
which follows, and to use only "\n" after other extra headers, if
another header follows.
Note in my use, I only tried placing the "From:", "Reply-To:", "Cc:",
and "Bcc:" headers first, and any extra headers (such as "Date:",
"Mime-Versions:", etc) after.
------------------------------------------------------------------------
[2004-08-17 00:40:32] iliaa@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
------------------------------------------------------------------------
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