Message internetHeaders are not available in message when it is in the sent items folder #5413
Labels
Area: Outlook
Issue related to Outlook add-ins
Needs: attention 👋
Waiting on Microsoft to provide feedback
Possible-Solution
Similar-Issue
Type of issue
Missing information
Feedback
Steps to reproduce:
https://graph.microsoft.com/v1.0/me/mailFolders(%27sentitems%27)/messages/?$select=subject,internetMessageHeaders
https://graph.microsoft.com/v1.0/me/mailFolders(%27inbox%27)/messages/?$select=subject,internetMessageHeaders
Issue
The internet header 'X-DO-ID' with value '9876' is only available on the received (incoming) message, but not on the sent message.
Note that the internet message header is visible on both the sent and received message if the eml is downloaded via Graph API, so the internet headers are available.
https://graph.microsoft.com/v1.0/Users/04bbe563-08e0-4dd8-994c-61dcf1819c87/Messages/{message-id}/$value
Expected
Both sent and received messages should contain the internet message headers if the messages are retrieved with:
https://graph.microsoft.com/v1.0/me/mailFolders(%27sentitems%27)/messages/?$select=subject,internetMessageHeaders
Background info
Eventually we want to receive the internet header messages in a rich notification as a webhook on the sent items folder.
https://learn.microsoft.com/en-us/graph/change-notifications-with-resource-data?tabs=csharp
Page URL
https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/internet-headers
Content source URL
https://github.com/OfficeDev/office-js-docs-pr/blob/main/docs/outlook/internet-headers.md
Author
@o365devx
Document Id
e465cfb6-e349-1d24-30b2-2ea4bc56d976
The text was updated successfully, but these errors were encountered: