Download cid: embebed images RRS feed

  • Question

  • Hi, i am inserting an HTML that came from Exchenge OnLine, but i can’t render the images, i tried the Message.ID, Attachement.ID and Attachment.Content.ID, but nothing works

    Where it is the image link copied directly from Outlook WebApp


    What id is this? and how can i get it? in that case i could display the image within

    public static string LeMenssagemPorId(string messId)
       PropertySet psPropSet = new PropertySet(BasePropertySet.FirstClassProperties)
               RequestedBodyType = BodyType.HTML
       Item mess = Item.Bind(GetService(), messId, psPropSet);
       mess.Body.BodyType = BodyType.HTML;
       string body = mess.Body.Text;
       string myBody = Ews.ReplaceInBody(body, "cid:", DefaultFoldersLinks.ExchangeUrlBody + ObterLinksAnexosImagens(messId) + "=");
       return myBody;




    MVP Office Development, MCP, MCTS SharePoi
    • Edited by Joao Livio Tuesday, April 5, 2011 11:05 AM Bad English, corrected
    Monday, April 4, 2011 4:37 PM