Outlook - Setting a internet header on send and getting it on reply/forward

Jonathan Melnyk Mendes 5 Reputation points
2023-11-13T17:09:54.0266667+00:00

Hi,

I am creating an Office JS Add-In for Outlook and I have an existing COM Add-In solution that sets an internet header when an email is sent and then it is able to get it when the email is replied to or forwarded.

But when I tried applying that to my Office JS Add-In I was able to set and see that the received email has that internet header set but when replying or forwarding the email I have no way of accessing it using the Office.InternetHeaders interface.

I used the getAsync and setAsync from the Office.InternetHeaders.

https://learn.microsoft.com/en-us/javascript/api/outlook/office.internetheaders?view=outlook-js-1.13

Is what I am trying to do possible in Office JS?

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
994 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,970 questions
0 comments No comments
{count} vote

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.