ews-managed-api icon indicating copy to clipboard operation
ews-managed-api copied to clipboard

Time Zone is in UTC on Replies

Open grex84 opened this issue 4 years ago • 0 comments

It seems that whenever a reply is created or more specifically when an existing EmailMessage is loaded (.Load()), the body will show all dates in UTC and will ignore the time zone property set in the Exchangeservice initialization. I can't be certain as to when this issue began but does anyone have any ideas on how this can be fixed? My exchange server (2010) and the webserver where this API is being run from are in "Eastern Standard Time" and the Exchangeservice time zone initialization can be seen below:

ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP2,TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time"));

grex84 avatar Jan 04 '22 15:01 grex84