Windows 10 Outlook desktop client doesn't save or load custom internet headers to or from a draft

OmniRob 1 Reputation point
2021-10-30T08:53:44.32+00:00

Hello everyone,

We're are currently developing an outlook add-in with react, office js and fluent ui. The idea is, you fill out a form in the add-in and the information is stored in custom internet headers. After sending the mail the external mail gateway takes the headers and does further voodoo with it.

Additionally if a mail is saved as a draft and worked on again on a later date, the header information should still be saved to and loaded from the draft.

The add in is working 100% as expected in the Outlook Web Application (OWA). You create your mail, fill in the form, save the mail as a draft, reopen the draft and all the headers are still there. However in the desktop client this doesn't work at all.

The following scenarios are given:

  • OWA: create mail, add headers, save as draft -> OWA: load draft -> headers still there
  • OWA: create mail, add headers, save as draft -> desktop: load draft -> no headers are loaded
  • desktop: create mail, add headers, save as draft -> OWA: load draft -> no headers are loaded
  • desktop: create mail, add headers, save as draft -> desktop: load draft -> no headers are loaded
  • OWA: create mail, add headers, send mail -> sent mail includes all the headers
  • desktop: create mail, add headers, send mail -> sent mail includes all the headers

As you can see, no matter what draft scenario we look at, whenever the desktop client is involved the headers are either not being saved or loaded.

Does anyone have any idea what might be the problem or how I can solve it?

Any help would be highly appreciated.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,593 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
864 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,473 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,880 questions
{count} votes