View Single Post
  #4  
Old April 23rd 07, 06:51 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Stripping attachments from sent emails

You can access them using Attachment.Fields(PR_ATTACH_CONTENT_ID) where
PR_ATTACH_CONTENT_ID is 0x3712001e

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Bill" wrote in message
...

"Dmitry Streblechenko" wrote in message
...
Embedded HTML images have PR_ATTACH_CONTENT_ID property set. HTML body
refers to these images in the img src="cid:xyz"... tag (where xyz is
the value of the PR_ATTACH_CONTENT_ID).
You can access that property using Extended MAPI, CDO 1.21 or Redemption
(but not the Outlook Object Model).


Thank you for your reply. I have Redemption, but I am uncertain how to
access this property. If I cycle through the Attachments in a
SafeMailItem, how would I determine whether they have this property set?
My goal is to delete only the non-embedded attachments.

Thanks,

Bill Le May



Ads