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

Jean Paul Larach 31 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?

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
883 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,532 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,912 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,369 questions
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