An API that connects multiple Microsoft services, enabling data access and automation across platforms
message: createReply time zone set to UTC time
In our .Net MVC application, we are using Microsoft Graph to retrieve mail messages from a mailbox and then send a reply. For creating the reply, we use the
message.CreateReply()
The sent datetime is always in the utc timezone in the mail body when we create the reply. For example, in the mail body it says:
From: Melissa van Dijk
Sent: Friday, November 12, 2021 9:51:49 AM (wrong timestamp)
To: Melissa van Dijk
Subject: Re:Meet for lunch?
When replying via Outlook webmail, we get a correct timestamp.
Is this a bug or do we have to correct this timestamp ourselves? Or do we need to pass the timezone with the REST call somehow?