Bug #12680 Updated: mail() is sent with incorrect timezone

From: Date: Fri, 10 Aug 2001 15:01:14 +0000
Subject: Bug #12680 Updated: mail() is sent with incorrect timezone
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-62837@lists.php.net to get a copy of this message
ID: 12680
User updated by: justin.white@wcom.com
Reported By: justin.white@wcom.com
Old Status: Suspended
Status: Open
Bug Type: Mail related
Operating System: Windows NT 4.0 SP6
PHP Version: 4.0.6
New Comment:

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

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

[2001-08-10 10:45:12] alindeman@php.net

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.

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

[2001-08-10 10:36:59] justin.white@wcom.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).

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

[2001-08-10 10:32:55] alindeman@php.net

Does this happen with just PHP, or with any mail program
that you use?

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

[2001-08-10 10:26:31] justin.white@wcom.com

Yes, the timezone and time have been verified on the server and on my workstation.  Both are set to
CDT (-0500).

The test email reflected the correct timezone, but the PHP-created one did not.

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

[2001-08-10 09:45:56] alindeman@php.net

Is the timezone on your mailserver the same as the zone on your
computer???

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

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/?id=12680


Edit this bug report at http://bugs.php.net/?id=12680&edit=1



Thread (13 messages)

« previous php.dev (#62837) next »