2

I collect the mailMessage from using Microsoft Graph in a Outloko Addin project. Is there a way for me to save it into a Msg format?

MVPKenLin
  • 31
  • 3
  • Possible duplicate of [Outlook Rest API: Download the email attachments of type .eml files using outlook rest API](https://stackoverflow.com/questions/46538814/outlook-rest-api-download-the-email-attachments-of-type-eml-files-using-outloo) (.eml is the raw email as MIME) – Marc LaFleur Mar 20 '18 at 15:02

1 Answers1

0

The .msg format is an Outlook format. You'll have to construct that yourself from spec: https://msdn.microsoft.com/en-us/library/cc463912%28EXCHG.80%29.aspx

Other people have solved this problem. For example, http://independentsoft.de has an library that does this. This is a not an endorsement and I have never seen that product in use.

Michael Mainer
  • 3,387
  • 1
  • 13
  • 32