SOLVED

Missing MimeContent for Meeting message via EWS

%3CLINGO-SUB%20id%3D%22lingo-sub-3090963%22%20slang%3D%22en-US%22%3EMissing%20MimeContent%20for%20Meeting%20message%20via%20EWS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3090963%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20trying%20to%20load%20an%20EML%20for%20a%20MeetingMessage%5B1%5D%20via%20GetItem%5B2%5D%20with%20IncludeMimeContent%5B3%5D%20set%20to%20true.%20This%20works%20just%20fine%20for%20normal%20emails%20but%20not%20at%20all%20for%20the%20invitation%20message.%20The%20Item%20ID%20is%20correct%20as%20I%20have%20all%20the%20other%20properties%2C%20just%20not%20'MimeContent'.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20on%20Exchange%202016.%20According%20to%20%5B4%5D%20where%20it%20lists%20MeetingMessage%20as%20a%20parent%2C%20it%20should%20be%20loaded.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOWA%20is%20able%20to%20generate%20me%20an%20EML%20file%20via%20the%20'drag%20and%20drop'%20method%20for%20the%20same%20MeetingRequest%2C%20but%20I%20need%20it%20via%20EWS.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20ideas%3F%20TIA.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%5B1%5D%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fclient-developer%2Fweb-service-reference%2Fmeetingmessage%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fclient-developer%2Fweb-service-reference%2Fmeetingmessage%3C%2FA%3E%3C%2FP%3E%3CP%3E%5B2%5D%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fclient-developer%2Fweb-service-reference%2Fgetitem%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fclient-developer%2Fweb-service-reference%2Fgetitem%3C%2FA%3E%3C%2FP%3E%3CP%3E%5B3%5D%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fclient-developer%2Fweb-service-reference%2Fincludemimecontent%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fclient-developer%2Fweb-service-reference%2Fincludemimecontent%3C%2FA%3E%3C%2FP%3E%3CP%3E%5B4%5D%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fclient-developer%2Fweb-service-reference%2Fmimecontent%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fclient-developer%2Fweb-service-reference%2Fmimecontent%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3090963%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2016%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3096433%22%20slang%3D%22en-US%22%3ERe%3A%20Missing%20MimeContent%20for%20Meeting%20message%20via%20EWS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3096433%22%20slang%3D%22en-US%22%3EWhich%20EWS%20DLL%20does%20your%20code%20use%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3096602%22%20slang%3D%22en-US%22%3ERe%3A%20Missing%20MimeContent%20for%20Meeting%20message%20via%20EWS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3096602%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3842%22%20target%3D%22_blank%22%3E%40Thomas%20Stensitzki%3C%2FA%3E%26nbsp%3Bnone%3F%20It's%20via%20web%20service%20(i.e.%20XML).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEdit%3A%20ah%20yes%20-%20EWS%20shares%20a%20name%20with%20EWS%20Managed%20API.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New 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 (New 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. :)