View Single Post
  #2  
Old November 20th 08, 02:39 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default get attachment file data

The actual binary data for the attachment is stored in PR_ATTACH_DATA_BIN.
That property is a PT_BINARY.

However, that may be encoded in some way so the usual method is to save out
the attachment to the file system and work with it from there.

--
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


"sd" wrote in message
...
hello
I'm using VSTO SE Outlook add in for Outlook 2007 using vb.net.I need
to get attachment details -
MIME content type,content subtype & the file data itself. I used
redemption to get content type,subtype using field value &H370E001E of
safemailItem attachment.But was not able to get attachment file data.
Is there any way to get attachment file data without saving the file &
then getting its data?

thanks


Ads