FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TSMTP: Invalid date
Posts: 190
Joined: Tue Mar 14, 2006 01:59 AM
TSMTP: Invalid date
Posted: Tue Mar 30, 2010 02: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

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: TSMTP: Invalid date
Posted: Tue Mar 30, 2010 02: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
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 190
Joined: Tue Mar 14, 2006 01:59 AM
Re: TSMTP: Invalid date - Solved
Posted: Tue Mar 30, 2010 02: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

Continue the discussion