Differentiating between embedded and normal message attachments using EWS

By gary.prior ·
I am retrieving messages from Exchange 2007 mailboxes, using the Exchange Web Service. When I retrieve these messages I am extracting and saving the attachments. What I would like to be able to do is to tell whether these attachments are normal attachments (ie: "attached" files to the message) or embedded (eg: logo in sig., embedded pic.).

This can be done, easily, in managed code (eg: writing an agent) using the Microsoft.Exchange.Data.Transport namespace and checking the Attachment object's AttachmentType property for the enum -

How is this done, though, using the Web Service? I can retrieve an AttachmentType type from the MessageType but there does n ot appear to be a property specifiying if the is an inline or regular attachment.

Can anybody please sehd some light on this? Pehaps i am going about it the wrong way with the EWS?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Share your knowledge

Related Discussions

Related Forums