View Single Post
  #2  
Old February 13th 08, 06:10 AM posted to microsoft.public.outlook.program_addins
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Trying to hide inline attachments



For embedded attachments, you don't find the file name but something like
this in html:

img src='cid:xxxxx'

--
Best regards
Michael Bauer - MVP Outlook
Use Outlook Categories? This is Your Tool:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Tue, 12 Feb 2008 02:47:44 -0800 (PST) schrieb :

I am writing some code to archive mail.
whel looping through my selection i check every e-mail to see if it
contains any attachments. However the outlook api gives me a number of
inline attachments that i don't want to see. I only want to see the
attachments that are visible via the paperclip icon in office.

Does anybody now of a way of detecting these inline attachments.

I tried to look at the attachment.type property, but this is not the
way to go.
I tried analysing the htmlbody to look for the filename, but this was
also no help.

TIA

Otto

Ads