Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Time Zone is in UTC on Replies #277

Open
grex84 opened this issue Jan 4, 2022 · 0 comments
Open

Time Zone is in UTC on Replies #277

grex84 opened this issue Jan 4, 2022 · 0 comments

Comments

@grex84
Copy link

grex84 commented Jan 4, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant