View Single Post
  #1  
Old December 23rd 08, 09:44 AM posted to microsoft.public.outlook.program_addins
Roman[_2_]
external usenet poster
 
Posts: 2
Default How to work with mail items in outlook 2003(C++)

Hi,
I am very new in C++ and working on Add-in for outlook 2003.
Can anyone adviced me how to extract attachments from mail which linked to
other mail
(user create new mail "MAIL1" and insert item for example "MAIL2"mail with
attachments "ATTACH1" and "ATTACH2" from inbox folder)

On some event I recieve attachment list for MAIL1
MyMethod((LPDISPATCH pMailItem...)
{
....
hr = GetProperty(pMailItem, L"Attachments", &vtAttachments); // I recieve
"MAIL2"

but how extract attachments from this "MAIL2" ?
Can anyone help?

Thanks in advance
Ads