TSMTP: Invalid date

TSMTP: Invalid date

Postby Davide » Tue Mar 30, 2010 2:07 pm

Hello guys,

Tsmtp Date: header is not RFC compliant because it defaults to nGMT := 0 so it doesn't add timezone information if you don't programmatically specify an oSmtp:nGMT

I'm trying to fix it, but I need an API to retrieve the GMT bias, or to convert the local time in UTC.
Any idea ?

Thanks,
Davide
Davide
 
Posts: 190
Joined: Tue Mar 14, 2006 1:59 am
Location: Italy

Re: TSMTP: Invalid date

Postby James Bott » Tue Mar 30, 2010 2:26 pm

Davide,

Go to my website http://www.gointellitech.com and find my email address and send me an email (so I have your email address) and I will send you an updated TSMTP.PRG that automatically handles the GMT time.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: TSMTP: Invalid date - Solved

Postby Davide » Tue Mar 30, 2010 2:34 pm

Hi James,

thank you, I'm going to do it, however I've already found the solution by EMG at viewtopic.php?f=3&t=15550&hilit=utc+time (standard TimeZone() function erroneously retrieves 1 instead of 2 in my system)

Thanks,
Davide
Davide
 
Posts: 190
Joined: Tue Mar 14, 2006 1:59 am
Location: Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 100 guests

cron