Add the internetHeaders property to the Office.AppointmentCompose interface
Currently the https://learn.microsoft.com/en-us/javascript/api/outlook/office.messagecompose?view=outlook-js-preview#outlook-office-messagecompose-internetheaders-member property is available only for the compose mode of messages in Outlook. See https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/internet-headers for more information.
But the compose mode of appointments don't provide such properties, specifically, the https://learn.microsoft.com/en-us/javascript/api/outlook/office.appointmentcompose?view=outlook-js-preview interface doesn't have the `internetHeaders` property defined.
As a result, there is no way to add custom internet headers to the meeting requests sent to attendees.
1 Comment
- DanilKorotenkoCopper Contributor
If you obtain Appointment via EWS with GetItem command and IncludeMimeContent flag on, you can see internet headers in the mime content.
If someone send you invitation to event, you recieve an email with internet headers.
So internet headers are definitely already present for appointments.
The question is: how to use them?
If I update appointment via EWS,
SetItemField with
ExtendedFieldURI DistinguishedPropertySetId="InternetHeaders"Those changes will be only seen locally.If I send invitation to that appointment, the other side will not recieve my internet headers.