#24400 [Opn->Fbk]: CRLFCRLF in the "header" parameter is being converted to CRLF

From: Date: Mon, 30 Jun 2003 08:30:20 +0000
Subject: #24400 [Opn->Fbk]: CRLFCRLF in the "header" parameter is being converted to CRLF
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-42815@lists.php.net to get a copy of this message
 ID:               24400
 Updated by:       derick@php.net
 Reported By:      vitalichka at mail dot ru
-Status:           Open
+Status:           Feedback
 Bug Type:         Mail related
 Operating System: Windows XP
 PHP Version:      4.3.2
 New Comment:

Please show us a small code snippet that reproduces this. Changes might
be that you're doing something wrong.


Previous Comments:
------------------------------------------------------------------------

[2003-06-30 03:26:44] vitalichka at mail dot ru

Description:
------------
Our old API is using "mail" function to send e-mails. When it needs to
attach files, it creates the mail body and specifies it as a "header"
parameter for the "mail" function. With PHP 4.3.2 on Windows XP mail
send stopped working. The mail received had all of the "CRLFCRLF"
("\r\n\r\n") strings converted to CRLF ("\r\n"), in other words some
kind of header parsing was done by mail function."CRLFCRLF" is
absolutely necessary for "message/rfc822" format. Maybe it looks a bit
odd to use "mail" function for that, but BEFORE it was working for
years, and NOW it doesn't. The "continuity of versions" law is broken.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24400&edit=1



Thread (8 messages)

« previous php.bugs (#42815) next »