Accessing attachments in Outlook using MAPI

H

Happy.Cerberus

How can I access attachments using MAPI?

Somewhere on internet i found PR_ATTACH_DATA_BIN property, but this
doesn't seem to work: MAPI_W_ERRORS_RETURNED is returned.

Thx for any help...
 
D

Dmitry Streblechenko

How are you retrieving that property? Large string or binary properties
(such as PR_ATTACH_DATA_BIN or PR_BODY) must be opened using
IMAPIProp::OpenProperty(IStream, ...) rather than IMAPIProp::GetProps or
HrGetOneProp.

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top