Re: How to extract message as attachment from message

Tech-Archive recommends: Fix windows errors by optimizing your registry



IAttach.OpenProperty(PR_ATTACH_DATA_OBJ, &IID_IMessage, ...)

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

"Robert" <Robert@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D0A6C1FF-2976-4B97-85FD-814818EDC97C@xxxxxxxxxxxxxxxx
I have a message that contains another message with attachments. I want to
know how to extract this attached message as message in MAPI with all
attributes. Using GetAttachmentTable I get a list of attachments and with
OpenAttach I open an attached item. But this attached item is not a
message
any more (and no attachments can be extracted out of it). Any help
wellcome.


.



Relevant Pages

  • Re: How to recognize unicode attachment when PR_STORE_SUPPORT_MASK not found?
    ... OutlookSpy - Outlook, CDO ... and MAPI Developer Tool ... > I need to implement method IMAPIProp::CopyTo for attachments. ... > unicode MAPI properties. ...
    (microsoft.public.win32.programmer.messaging)
  • Re: Yet another question about reading HTML body
    ... OutlookSpy - Outlook, CDO ... > PR_RTF_COMPRESSED to extract the HTML body, ... > know what to do with the embedded attachments. ...
    (microsoft.public.win32.programmer.messaging)
  • Re: Reference cid: with attachment ?
    ... "Dmitry Streblechenko " escribió en el mensaje ... > a message with embedded images, click IMessage button on the OutlookSpy ... you can find out the total number of attachments and the number of ... >> and MAPI Developer Tool ...
    (microsoft.public.outlook.program_vba)
  • Re: Reference cid: with attachment ?
    ... It is an Extended MAPI property - if you have OutlookSpy installed, ... you can find out the total number of attachments and the number of ... > and MAPI Developer Tool ...
    (microsoft.public.outlook.program_vba)
  • Re: Saving an Outlook Email as HTML
    ... OutlookSpy - Outlook, CDO ... and MAPI Developer Tool ... identify how to match up the image references in the HTML to the image ... If I look at the email attachments collection, ...
    (microsoft.public.office.developer.outlook.vba)