Unable to get MIME contents of contact RRS feed

  • Question

  • Hi Devs,

    I have public folder of type contact. When I tried to get the MIME contents of items in it. It gives me exception "MIME conversion is not supported for this item type"

    I used                        

    item.Load(new PropertySet(ItemSchema.MimeContent));

    with contact item. item is found by FindItem method of ExchangeService.

    The same problem is with task item.

    Any help is appreciate.


    Thursday, February 9, 2012 11:22 AM

All replies

  • Have you tried this?

    foreach (Item it in fiResults.Items)
    it.Load(new PropertySet(BasePropertySet.FirstClassProperties){ItemSchema.MimeContent});          
    MimeContent mc = it.MimeContent;

    DeVa, M.S., {MSFT} Please remember to mark the replies as answers if they help

    Thursday, February 9, 2012 8:26 PM
  • Hi Deva,

    Thanks for reply..

    I tried above code too .. Still exception is there for contact and task item.

    Other thing I found is, I have an appointment item with file attachments to it. MIME content for this appointment is very less (say 2 kB only), I guess it should be greater as it having attachments of big size (40 KB). I m newbie to EWS, so I don't know whether it is true or not..

    Thanks ..

    Friday, February 10, 2012 12:11 PM