Hi,
The attached message’s date is: 3/19/2023 7:35:16 AM
And date received is: 3/19/2023 7:34:43 AM
But if I load it into the MailMessage, its date is shown as: 3/19/2023 11:35:16 AM
This 8 hours difference seems because of my local time zone.
But however, need to get it as is, any option to disable this behavior when loading messages globally?
Thanks c.zip (11.7 KB)
Looking at the docs, these are available for MapiMessage:
ClientSubmitTime
DeliveryTime
GetPropertyDateTime
TryGetPropertyDateTime
Which one to trust to always have the value? For example, I guess for drafts, some of them might be not available? Or for local items etc…
Hi @australian.dev.nerds,
There are some differences when storing the date in the eml and msg formats .
For eml - date is stored: Date: Sun, 19 Mar 2023 13:35:16 +0200 (UTC with +2 hour local timezone offset)
For msg - date is stored in UTC.
But Outlook always show date in local timezone.
I need some clarification concerning
Where do you see these dates? To avoid misunderstandings, it’s best to get a simple project from you with expected and actual behavior.