ID: 12680 Comment by: flashx at madskillz dot se Reported By: justin dot white at wcom dot com Status: Closed Bug Type: Mail related Operating System: Windows NT 4.0 SP6 PHP Version: 4.0.6 New Comment:
Now it's 2004 and we are running Win2003/IIS6 with PHP 4.3.6 and still having this problem... Previous Comments: ------------------------------------------------------------------------ [2002-02-18 15:52:08] daniel at nospam dot se I found a solution to this problem! I'm running W2k with IIS5 and PHP 4.1.1. The mail function has the following parameters, mail($mail_to, $mail_subject, $mail_body, $mail_headers); Just add date("r") to the header like: $mail_headers .= "\nDate: " . date("r"); And the email header will have the correct date! - daniel ------------------------------------------------------------------------ [2002-02-08 06:05:17] daniel at nospam dot se I'm running 4.1.1 on a W2k/IIS5, the bug is not fixed, in which relase was the bug fix included? - daniel ------------------------------------------------------------------------ [2002-01-30 21:05:50] chank01 at yahoo dot com Where can I find out when this bug fix is going to be released? Also where can I find out which bug fixes where included in previous release? TIA chank ------------------------------------------------------------------------ [2001-11-30 04:29:27] [EMAIL PROTECTED] Fixed in CVS ------------------------------------------------------------------------ [2001-08-10 11:01:14] justin dot white at wcom dot com This happens with just PHP. As I said, I can directly connect to port 25 and manually enter SMTP commands to send an email (see second mail header sample). The timezone correctly shows -0500 for CDT. The time listed in the PHP-created email shows the time correctly, but doesn't show the timezone correctly (see first mail header sample). ------------------------------------------------------------------------ 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/12680 -- Edit this bug report at http://bugs.php.net/?id=12680&edit=1