Bug #16101: gmt exchange for mail function

From: Date: Fri, 15 Mar 2002 19:27:38 +0000
Subject: Bug #16101: gmt exchange for mail function
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-2602@lists.php.net to get a copy of this message
From: francky.leclerc@free.fr Operating system: winnt4 PHP version: 4.1.2 PHP Bug Type: Mail related Bug description: gmt exchange for mail function Php4.1.2 win32 binaries download from php.net ! I'm trying to send a mail from my server with a little simple script. mail("myadd@org.com","MySubject","MyMail") The mail arrive, but the time 'send time' was with a bad gmt time. System mail gmt+0100 gmt-0100 gmt-0100 gmt+0100 gmt+0000 gmt+0100 gmt+0200 gmt-0200 The mail function in win32 system exchange the sign of the gmt. To Walk around this problem I send a 'Date' header with the good gmt set : $header = "Date: ".date("D, d M Y H:i:s O"); Thanks for debug. -- Edit bug report at http://bugs.php.net/?id=16101&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16101&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16101&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16101&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16101&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16101&r=support Expected behavior: http://bugs.php.net/fix.php?id=16101&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16101&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16101&r=submittedtwice

« previous php.bugs (#2602) next »