Windows 10 Outlook desktop client doesn't save or load custom internet headers to or from a draft
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.