I want to set a custom header in Outlook outgoing mail using an Outlook Web Add-in. How can we achieve this?
While Mark's (@MarkLaFleur) answer is correct and indeed the Office.js API doesn't provide any direct functionality to manipulate with transport layer headers, you are able to achieve this. There are two options available for you ...
{00020386-0000-0000-C000-000000000046}
). Please see the example on github: Make an Exchange Web Service request from OutlookUPDATE:
With Mailbox 1.8 API set new Office.InternetHeaders interface is available to set, get and remove Transport Headers of the message through regular JavaScript API calls.