#23525 [Opn->Csd]: Mail header not always interpreted
| From: | edink@php.net | Date: | Wed, 07 May 2003 20:36:17 +0000 |
| Subject: | #23525 [Opn->Csd]: Mail header not always interpreted | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-39245@lists.php.net to get a copy of this message | ||
ID: 23525
Updated by: edink@php.net
Reported By: joce at presence-pc dot com
-Status: Open
+Status: Closed
Bug Type: Mail related
Operating System: linux
PHP Version: 4.3.2RC2
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-05-07 06:55:55] joce at presence-pc dot com
Hi,
With the following script :
<?
$headers_html = "MIME-Version: 1.0\n";
$headers_html .= "Content-Type: text/html; charset=\"iso-8859-1\"\n";
$headers_html .= "From: Presence PC - Lettre express
<serveur@presence-pc.com>\n";
$headers_html .= "Return-Path: serveur@presence-pc.com\n";
mail('joc@presence-pc.com', 'test', 'test', $headers_html);
?>
Using PHP-4.3.2RC1, all works just fine and I'm receiving :
'test'
Using PHP-4.3.2RC2, header infos are no longer rightly interpreted, and
I'm receiving a mail containing :
'MIME-Version: 1.0
Content-Type: text/html; charset="iso-8859-1"
From: Presence PC - Lettre express <serveur@presence-pc.com>
test'
(ie only Return-Path header info is interpreted)
Regards,
Jocelyn Fournier
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23525&edit=1