Handle Attachment

A

Atul Sureka

Hi,

Getdecodedcontentstream() and Getencodedcontentstream() are the functions of
IBodyPart interface of CDO.Interop assembly which returns stream
corresponding to the attachment.

Is there any functions in Microsoft Outlook 11.0 object library
correspponding to the Getdecodedcontentstream() and
Getencodedcontentstream() functions of CDO library which will return the
stream for the attachment ??

Regards
- Atul Sureka
 
S

Sue Mosher [MVP-Outlook]

No. To work with attachments in the Outlook object model, you need to use Attachment.SaveAsFile to save it as a system file.

FYI, there is a newsgroup specifically for general Outlook programming issues "down the hall" at microsoft.public.outlook.program_vba or, via web interface, at http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public.outlook.program_vba

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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