I need to save the Email Message on the disk as an .msg file, for this I am using EWS API. I am sucessfully able to save the FileAttachment but not ItemAttachment.
Is there any sample code available which I can refer to?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Exchange only deals with EML (MIME) format. To get the attachments you need to handle the various MIME part formats which 3rd party libraries do for you (e.g. deal directly with the MIME content). You also need to consider how you handle embedded EML items in the source EML.