Can Outlook custom properties in an email be viewed by another user

Jean Paul Larach 36 Reputation points Microsoft Employee
2022-08-08T19:20:55.687+00:00

Hi all,

I am developing an add-in that saves custom properties on an e-mail using the "saveAsync" method of the Office-js api: https://learn.microsoft.com/en-us/javascript/api/outlook/office.customproperties?view=outlook-js-preview#outlook-office-customproperties-saveasync-member(1). I am able to view the properties if I create the e-mail, save the properties using the add-in and send it to myself. Now, if I send that same email to another user, that user is not able to pull the properties that were saved by me on the email. I am using EWS request to fetch the data and I am not seeing the properties as the other user https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/metadata-for-an-outlook-add-in#custom-data-per-item-in-a-mailbox-custom-properties.

Are custom properties only retrievable by the user who saved them?

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Other
Outlook | Windows | Classic Outlook for Windows | For business
Exchange | Exchange Server | Management
0 comments No comments
{count} votes

Accepted answer
  1. Outlook Web Addins Team 76 Reputation points
    2022-08-10T01:48:24.94+00:00

    Custom Properties are not transmitted.
    This means that they are stripped from the outgoing email that eventually arrives in the Inbox of your recipients, including you.
    However, these properties are available on the item in your Sent Items folder.

    If you want to stamp persistent information on an item that will be available to recipients, consider using our Internet Headers API.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.