I have written a small program, which sends email if a remote installation fails. For some reason the email has wrong date/time stamp, like this:
Date: Thu, 3 Feb 2011 18:00:16 +0300 [17:00:16 EET]
However, the time zone should be +0200, not +0300, and the correct line would be:
Date: Thu, 3 Feb 2011 18:00:16 +0200 [18:00:16 EET]
When the email arrives, it doesn't appear at the top, since it was supposedly sent one hour ago. Any ideas what to do with this? I'm using the standard mail library in PB. All other email clients work right (Thunderbird, Horde, Outlook, etc).
Thanks.
Time zone problems with PB mail library
Re: Time zone problems with PB mail library
Problem solved. I used SetMailAttribute(#Mail, #PB_Mail_Date, rfc2821_date_format$) and now everything works great.