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

From: Date: Fri, 10 Aug 2001 14:37:00 +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-62828@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: Feedback
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: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???

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

[2001-08-09 17:35:02] justin.white@wcom.com

Here's the headers from the email I sent via telnet:

Return-Path: <justin.white@wcom.com>
Received: from XXX.wcomnet.com ([XXX.XXX.XXX.XXX]) by
          XXX.wcomnet.com (Netscape Messaging Server 4.15) with ESMTP
          id GHTIG600.IEW for <justin.white@wcom.com>; Thu, 9 Aug 2001
          20:33:42 +0000 
Return-path: justin.white@wcom.com
Received: from CONVERSION-DAEMON by XXX.wcomnet.com (PMDF V5.2-33 #42262)
 id <0GHT00101IG3ZS@XXX.wcomnet.com> for justin.white@wcom.com; Thu,
 9 Aug 2001 20:33:42 +0000 (GMT)
Received: from XXX.wcomnet.com by XXX.wcomnet.com
 (PMDF V5.2-33 #42262) with SMTP id <0GHT00101IFFSV@XXX.wcomnet.com> for
 justin.white@wcom.com; Thu, 09 Aug 2001 20:33:39 +0000 (GMT)
Received: from XXX.wcomnet.com ([XXX.XXX.XXX.XXX])
 by XXX.wcomnet.com (PMDF V5.2-33 #42262)
 with ESMTP id <0GHT00KPOIEXY1@XXX.wcomnet.com> for
 justin.white@wcom.com; Thu, 09 Aug 2001 20:32:57 +0000 (GMT)
Received: from XXX.XXX.XXX.XXX by XXX.wcomnet.com  with Microsoft
 SMTPSVC(5.5.1774.114.11); Thu, 09 Aug 2001 15:24:25 -0500
Date: Thu, 09 Aug 2001 15:24:52 -0500
From: justin.white@wcom.com
Bcc: 
Message-id: <0022f2524200981ESERVER@XXX.wcomnet.com>

This is a test message 

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

[2001-08-09 17:32:37] justin.white@wcom.com

Here's headers from a bad email:

Return-Path: <XXX@wcom.com>
Received: from XXX.wcomnet.com ([XXX.XXX.XXX.XXX]) by
          XXX.XXX.XXX.XXX (Netscape Messaging Server 4.15) with
ESMTP
          id GHT2IQ00.KNI; Thu, 9 Aug 2001 14:49:38 +0000 
Return-path: XXX@wcom.com
Received: from CONVERSION-DAEMON by dgismtp03.wcomnet.com (PMDF V5.2-33
#42262)
 id <0GHT001012IP4Z@XXX.wcomnet.com>; Thu,
 9 Aug 2001 14:49:37 +0000 (GMT)
Received: from XXX.wcomnet.com by XXX.wcomnet.com
 (PMDF V5.2-33 #42262) with SMTP id
<0GHT001012IC2M@XXX.wcomnet.com>;
 Thu, 09 Aug 2001 14:49:36 +0000 (GMT)
Received: from XXX.wcomnet.com ([XXX.XXX.XXX.XXX])
 by XXX.wcomnet.com (PMDF V5.2-33 #42262)
 with ESMTP id <0GHT0002V2I2SM@XXX.wcomnet.com>; Thu,
 09 Aug 2001 14:49:14 +0000 (GMT)
Received: from XXX.XXX.XXX.XXX by XXX.wcomnet.com  with Microsoft
 SMTPSVC(5.5.1774.114.11); Thu, 09 Aug 2001 09:41:11 -0500
Date: Thu, 09 Aug 2001 09:41:11 +0600
From: XXX@wcom.com
Subject: XXX
X-Sender: <XXX@wcom.com>
To: XXX@wcom.com
Cc: XXX@wcom.com
Reply-to: XXX@wcom.com
Message-id: <0004b1141140981ESERVER@XXX.wcomnet.com>

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

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 (#62828) next »