Office-js: Internet Message ID incorrect on Outlook for Mac

Created on 28 Sep 2019  路  8Comments  路  Source: OfficeDev/office-js


When querying for Office.context.mailbox.item.internetMessageId in Outlook for Mac OfficeJS is returning 2415681bce7c00293a83fce817e928a4 when the exact value of the Message-ID header is <2415681bce7c00293a83fce817e928a4>. However the internetMessageId key in MS Graph for the message is <2415681bce7c00293a83fce817e928a4> and in OWA Office.context.mailbox.item.internetMessageId returns <2415681bce7c00293a83fce817e928a4>.

Expected Behavior


When asking OfficeJS for Office.context.mailbox.item.internetMessageId I would expect OfficeJS to return the exact Message-ID header value and the value would be consistent between all Outlook environments.

Current Behavior

Example header: Message-ID: <2415681bce7c00293a83fce817e928a4>

Currently in OWA if you ask OfficeJS Office.context.mailbox.item.internetMessageId the library will return <2415681bce7c00293a83fce817e928a4>.

However in Outlook for Mac if you ask OfficeJS Office.context.mailbox.item.internetMessageId it will return 2415681bce7c00293a83fce817e928a4.

Verified in MS Graph Explorer the value of the internetMessageId key for example message:

{
    ...
    "internetMessageId": "<2415681bce7c00293a83fce817e928a4>",
    ...
}

Behavior is consistent in Outlook for Mac with multiple different messages and between two separate O365 accounts.

Steps to Reproduce, or Live Example

  1. Send in message to O365 account w/ Message-ID: <2415681bce7c00293a83fce817e928a4> header.
  2. Verify internetMessageId key in MS Graph Explorer has value <2415681bce7c00293a83fce817e928a4>
  3. In OWA verify Office.context.mailbox.item.internetMessageId equals <2415681bce7c00293a83fce817e928a4>
  4. In Outlook for Mac verify Office.context.mailbox.item.internetMessageId equals 2415681bce7c00293a83fce817e928a4

Context



Since the Message-ID is a header field it can be any string value. You cannot assume adding carrots when none are found. Office.context.mailbox.item.internetMessageId should return the exact value of the email header.

Your Environment

  • Platform [PC desktop, Mac, iOS, Office Online]: Mac
  • Host [Excel, Word, PowerPoint, etc.]: Outlook
  • Office version number: Outlook for Mac Version 16.29 (19090802)
  • Operating System: OSX High Sierra v10.13.6 +
  • Browser (if using Office Online): Firefox/Chrome (for OWA)
Outlook in backlog product bug

All 8 comments

@macOutlookExtensibility FYI, assigning to you for investigation.

Internal work item created by @macOutlookExtensibility: # 1242050 (o365exchange.visualstudio.com).

Thanks for reporting this issue regarding inconsistent behaviour for Internet Message ID. It has been put on our backlog. We unfortunately have no timelines to share at this point

@kbrandl Any updates on this?

We are also facing the same issue with internetMessageId on Mac Desktop Clients. We currently work around it by adding the opening and closing chevron wherever they are missing due to the lack of an alternative.

We are facing another (maybe related) issue where we are unable to fetch a message resource using a non-outlook internet message ID via Outlook REST APIs. This is universal across all clients and platforms.

For example, a mail that has been composed on Gmail and sent to some outlook user has an internet messageId like:

abc123@mail.gmail.com

When we try to look-up the message for this ID, we get an empty response. We have raised a question for the same on Stack Overflow and are awaiting a response.

@chrsblck I'm no longer working at Microsoft, so unfortunately can't provide an update on this. @macOutlookExtensibility can you please provide an update?

We are actively working on the fix for Office.context.mailbox.item.internetMessageId format. We will update this thread once the fix is deployed.

Just facing the same issue when internetMessageId is different on Windows/OWA and Mac/iOS. We did hardcode on our side but we are awaiting a fix from OfficeJs side.
Thanks in advance.

Was this page helpful?
0 / 5 - 0 ratings