ID:               12680
 Updated by:       [EMAIL PROTECTED]
-Reported By:      [EMAIL PROTECTED]
+Reported By:      [EMAIL PROTECTED]
 Status:           Closed
 Bug Type:         Mail related
 Operating System: Windows NT 4.0 SP6
 PHP Version:      4.0.6
 New Comment:

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


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

[2002-02-08 06:05:17] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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).

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

[2001-08-10 10:45:12] [EMAIL PROTECTED]

something similar has been reported as a bug in 4.0 and was
assigned to hholzgra.  I don't know if it has been fixed.

Suspended until I can contact him and see if he's fixed it.

If anybody else knows anything about this, second opinion is
welcome.

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

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

Reply via email to