none
How to download an email from exchange web client (or OWA) to local machine

    Question

  • Is there a way to download an email from exchange web client (or OWA) to local machine so that I can open it in OutLook for local viewing?

    For example I have this url

    https://myserver/owa/?ae=Item&a=Open&t=IPM.Note&id=abcde

    When I click on this, it takes me to the OWA web page and opens the email.

    What I am looking for is a way to download the "email" alone so that I can save it to my local machine and open later in outlook.


    thanks

    Tuesday, February 21, 2012 10:27 AM

All replies

  • You can do this in EWS by saving the MimeConent of a Message (this is only useful for Email Messages) eg

                FindItemsResults<Item> fiResults = service.FindItems(WellKnownFolderName.Inbox, new ItemView(1));
                PropertySet psPropset = new PropertySet(BasePropertySet.FirstClassProperties) { ItemSchema.MimeContent };
             
                EmailMessage em = EmailMessage.Bind(service, fiResults.Items[0].Id, psPropset);
                File.WriteAllBytes(@"c:\testout.eml", em.MimeContent.Content); 

    OWA itself has no export/import features

    Cheers
    Glen

     
    Wednesday, February 22, 2012 4:04 AM
  • Thanks Glen for the code.  But I am not looking for a programmatic way of doing it.  I was expecting a exchange feature to send the message for downloading to client, lets say  a url like

    https://myserver/exchange/?action=download&MsgId=xyz

    Wednesday, February 22, 2012 4:33 AM
  • If I understand your question correctly, I think the only thing you can do is do a Save As.. in IE when you have the page open.  Use the MHT format to make it self-contained.  You'll probably need to use the Lite view so that you have access to the menus.

    Mobile OWA For Smartphone
    www.leederbyshire.com
    email a@t leederbyshire d.0.t c.0.m

    Thursday, February 23, 2012 3:58 PM