PHP 4.0 Bug #3248 Updated: mail function putting wrong timezone info in message header?
| From: | Bug Database | Date: | Mon, 18 Sep 2000 01:48:45 +0000 |
| Subject: | PHP 4.0 Bug #3248 Updated: mail function putting wrong timezone info in message header? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33418@lists.php.net to get a copy of this message | ||
ID: 3248
Updated by: stas
Reported By: chris@bcl.co.nz
Status: Analyzed
Bug Type: Mail related
Assigned To: hholzgra
Comments:
Previous Comments:
---------------------------------------------------------------------------
[2000-07-25 20:27:20] zak@php.net
As far as I can tell from the source code, PHP is not responsible for generating the email message
headers.
Do other messages generated by the same server have the correct timezone information?
---------------------------------------------------------------------------
[2000-01-18 19:29:30] chris@bcl.co.nz
Not sure if this is really a PHP problem or just Microsoft at work, but
sending email using the "mail" function seems to give incorrect
timezone info in the "Date:" header. eg:
Received: from becks by macs.wn.bcl.co.nz; Wed, 19 Jan 2000 13:11:34 +1300 (NZDT)
(in this case becks=NT, macs=Unix - +1300 NZDT is correct)
Message-ID: <200001190011.NAA19048@macs.wn.bcl.co.nz>
Date: Wed, 19 Jan 2000 13:11:35 -1200
-1200 is wrong.
The NT timezone is set to +12:00 Auckland/Wellington, with Daylight saving enabled.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=3248