Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: How to determine the time zone of a mail Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
wzh
Newbie
Newbie


Joined: 07 January 2019
Online Status: Offline
Posts: 7
Posted: 28 April 2020 at 1:32am | IP Logged Quote wzh

Hello,
How to determine the time zone of a mail message.
Back to Top View wzh's Profile Search for other posts by wzh
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 28 April 2020 at 1:45am | IP Logged Quote Alex

Hello,

You can examine msg.TimeStamps collection to get all dates (and their timezones) of the mail message. The oldest date denotes the date when the message was sent, the newest - when it was received by your mail server.

each TimeStamp object has Date property (which contains date in DateTime format which you can use for comparison, sorting and so on), DateAsString which contains raw information on date how it's specified in the message (including timezone), and Bias property which gets timezone offset (from GMT) in hours.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide