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"));
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"));