Export Task from Exchange online RRS feed

  • Question

  • Hello everybody,

    I'm absolutely new to Exchange development, so it might be my question is stupid enough.

    What I need is to find a way to export Task from Exchange online in msg format.

    I'm able to get Task from Exchange online using EWS Managed API, but I have no idea how to export it in msg format to be able open it in Outlook.

    Thanks for any ideas.

    Thursday, February 14, 2013 5:13 PM

All replies

  • The MSG file format is an Office file format (or compound OLE format) so to save a message from Exchange to a MSG file you need to use Mapi via the OOM or possibly a third party library like Redemption With EWS you can save the MIME content of a message to an EML file but this isn't a good idea with a Task because all the information you need is stored in Mapi Properties that won't be included in the Mime content. EWS also has an ExportItem and UploadItems where you can export and Item in a opaque format that you can then upload to another server (but you won't be able to open the exported file in Outlook) see


    Friday, February 15, 2013 10:40 AM