SOLVED

Missing MimeContent for Meeting message via EWS

Copper Contributor

Never mind. This was actually a non-Exchange XML parsing issue, silently dropping the MimeContent property.

 

I'm trying to load an EML for a MeetingMessage[1] via GetItem[2] with IncludeMimeContent[3] set to true. This works just fine for normal emails but not at all for the invitation message. The Item ID is correct as I have all the other properties, just not 'MimeContent'.

 

I'm on Exchange 2016. According to [4] where it lists MeetingMessage as a parent, it should be loaded.

 

OWA is able to generate me an EML file via the 'drag and drop' method for the same MeetingRequest, but I need it via EWS.

 

Any ideas? TIA.

 

[1] https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/meetingmessage

[2] https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/getitem

[3] https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/includemimecontent

[4] https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/mimecontent

4 Replies
Which EWS DLL does your code use?

@Thomas Stensitzki none? It's via web service (i.e. XML).

 

Edit: ah yes - EWS shares a name with EWS Managed API.

best response confirmed by pegasam (Copper Contributor)
Solution
Never mind. This was actually a non-Exchange XML parsing issue, silently dropping the MimeContent property.
Good to know that you identified the issue. :)
1 best response

Accepted Solutions
best response confirmed by pegasam (Copper Contributor)
Solution
Never mind. This was actually a non-Exchange XML parsing issue, silently dropping the MimeContent property.

View solution in original post