[PHP-DEV] Bug #3248 Updated: mail function putting wrong timezone info in message header?
ID: 3248 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old Status: Analyzed Status: Duplicate Bug Type: Mail related Operating System: Windows NT PHP Version: 4.0 Beta 3 Assigned To: hholzgra New Comment: dup of #8909 Previous Comments: [2001-11-22 18:07:20] [EMAIL PROTECTED] Not sure if it helps, but I have a nearly untested patch that computes the offset using the diff between php_localtime_r() and php_gmtime_r(). I never understood where _timezone came from anyway. [2000-07-25 21:26:20] [EMAIL PROTECTED] implementation for mail on microsoft platforms is in win32/sendmail.c and in there is generation code for generating a Date: header if none was supplied by mail() function ( see function PostHeader() ) [2000-07-25 20:27:20] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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: [EMAIL PROTECTED] 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. Edit this bug report at http://bugs.php.net/?id=3248edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #3248 Updated: mail function putting wrong timezone info in message header?
ID: 3248 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Analyzed Bug Type: Mail related Operating System: Windows NT PHP Version: 4.0 Beta 3 Assigned To: hholzgra New Comment: Not sure if it helps, but I have a nearly untested patch that computes the offset using the diff between php_localtime_r() and php_gmtime_r(). I never understood where _timezone came from anyway. Previous Comments: [2000-07-25 21:26:20] [EMAIL PROTECTED] implementation for mail on microsoft platforms is in win32/sendmail.c and in there is generation code for generating a Date: header if none was supplied by mail() function ( see function PostHeader() ) [2000-07-25 20:27:20] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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: [EMAIL PROTECTED] 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. Edit this bug report at http://bugs.php.net/?id=3248edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]