From: sh at nnoncarey dot com Operating system: Windows Server 2003 PHP version: 4.4.6 PHP Bug Type: Mail related Bug description: mail: Malformed date header (H0600)
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 bug report at http://bugs.php.net/?id=40952&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40952&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40952&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40952&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40952&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40952&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40952&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40952&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40952&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40952&r=support Expected behavior: http://bugs.php.net/fix.php?id=40952&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40952&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40952&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40952&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40952&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40952&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40952&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40952&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40952&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40952&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40952&r=mysqlcfg