I'm not sure what you're getting at here. If you embed an image in an email
of course it's an attachment to that email. That it represents an embedded
image doesn't make it any less of an attachment.
You have to look at each attachment in the Attachments collection to see
what they are, using the attachment properties such as Type, DisplayName,
FileName, etc. For more detail you can use the MAPI properties on an
attachment such as PR_ATTACH_CONTENT_ID, PR_ATTACH_FLAGS, PR_ATTACH_METHOD,
PR_ATTACH_MIME_TAG. Some of those are always there and some are there for
only certain types of attachments such as embedded ones.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"murali@Blr" wrote in message
...
Hello,
In VSTO, Outlook Mailitem Attachment object includes all other objects
included in the mail item. For eg: In new mail item if we attach any
files and add image in the body of the mail. than in Code all
attachment files and images in the body are comes as attachment.
How to differentiate the Attachment files and other objects added
later?
thanks
muralidharan tr