#40952 [Opn->Fbk]: mail: Malformed date header (H0600)
| From: | tony2001@php.net | Date: | Tue, 03 Apr 2007 18:38:51 +0000 |
| Subject: | #40952 [Opn->Fbk]: mail: Malformed date header (H0600) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-111047@lists.php.net to get a copy of this message | ||
ID: 40952
Updated by: tony2001@php.net
Reported By: sh at nnoncarey dot com
-Status: Open
+Status: Feedback
Bug Type: Mail related
Operating System: Windows Server 2003
PHP Version: 4.4.6
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2007-03-29 20:14:46] sh at nnoncarey dot com
Description:
------------
Email sent with PHP's mail() function often (but not always) has a
malformed Date: header. Specifically, the minus sign before the UTC
offset is replaced with a capital letter "H". In my timezone (US
Central Standard -6), this means "H0600" instead of "-0600".
The occurrence of this problem does not appear to be related to the
recent US DST change.
Here is a date header illustrating the problem, along with the
X-OriginalArrivalTime header from the same email, just for comparison:
Date: Wed, 28 Mar 2007 14:04:37 H0600
X-OriginalArrivalTime: 28 Mar 2007 19:04:36.0042 (UTC)
FILETIME=[ED52E2A0:01C7716B]
But here is just one example which worked as expected.
Date: Tue, 06 Feb 2007 07:54:42 -0600
X-OriginalArrivalTime: 06 Feb 2007 13:54:30.0533 (UTC)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40952&edit=1