I'm getting weird date headings on emails sent from WinNT boxes. It seems that the php is unable to get the timezone from the machine.
Here's an example of a bad header:
Received: from postoffice.yadda.com ([xxx.xx.xx.x]) by yadda.yadda.com with
SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
id VCKKA4HH; Wed, 17 Oct 2001 17:26:00 -0500
Received: from web1 by postoffice.yadda.com (LSMTP for
Windows NT v1.1b) with SMTP id <0.xxxxx@postoffice.yadda.com>; Wed, 17 Oct
2001 17:29:13 -0500
Date: Wed, 17 Oct 2001 17:25:32 +0600
Subject: Time Stamp Test #2 - 10/17/01 at 5:26 PM
See how the "Date" in the header is +0600, but the SMTP server put a correct stamp of -0500
A code example:
"echo date ("D - M d, Y h:i A O T");"
gets me this:
Fri - Oct 19, 2001 03:01 PM -0500 CDT
on a unix box.
On the NT box, though, I get this:
Fri - Oct 19, 2001 12:26 PM +0500 Central Standard Time
+0500 is obviously wrong. Is there a way to fix this so that emails are sent to the SMTP server with a proper date/time stamp?