Re: How to extract attachments from this message with CDO ?
From: Strider (Strider_at_invalid_address.com)
Date: 02/25/04
- Next message: Dmitry Streblechenko \(MVP\): "Re: Custom controls in OL toolbar"
- Previous message: Olivier Matrot: "Re: How to extract attachments from this message with CDO ?"
- In reply to: Olivier Matrot: "Re: How to extract attachments from this message with CDO ?"
- Next in thread: Olivier Matrot: "Re: How to extract attachments from this message with CDO ?"
- Reply: Olivier Matrot: "Re: How to extract attachments from this message with CDO ?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 25 Feb 2004 17:29:05 +0100
Yeah, thats the solution I used myself.
I find it really strange that CDO2000 attempts to hide attachments with a
content type of application/ms-tnef.........
You may come accross another problem. If you attempt to save an email to
disk with CDO2000 that has an attachment of application/ms-tnef, the
attachment will get lost.
Strider./
"Olivier Matrot" <olivier.matrot@REMOVE_CAPS_AND_INVALIDrte.fr.invalid>
wrote in message news:uhQhIm7%23DHA.1452@TK2MSFTNGP09.phx.gbl...
> Found it.
> Used the IBodyPart Interface of the message to save the body part to a
file.
>
> "Olivier Matrot" <olivier.matrot@REMOVE_CAPS_AND_INVALIDrte.fr.invalid>
> wrote in message news:%23DhJRV4%23DHA.916@TK2MSFTNGP10.phx.gbl...
> > You're saying that that I can get this attachment from CDO ? How can I
> > safely extract it to another file in order to process it ?
> >
> > "Dmitry Streblechenko (MVP)" <dmitry@dimastr.com> wrote in message
> > news:upxi1N3%23DHA.688@tk2msftngp13.phx.gbl...
> > > CDO does not deal with it, winmail.dat is Outlook specific (even
though
> > TNEF
> > > is standard). You might also want to take a look at the JTNEF Java
> library
> > > at http://www.freeutils.net/source/jtnef/
> > >
> > > Dmitry Streblechenko (MVP)
> > > http://www.dimastr.com/
> > > OutlookSpy - Outlook, CDO
> > > and MAPI Developer Tool
> > >
> > >
> > > "Olivier Matrot"
<olivier.matrot@REMOVE_CAPS_AND_INVALIDrte.fr.invalid>
> > > wrote in message news:enBY0F3%23DHA.2520@TK2MSFTNGP11.phx.gbl...
> > > > This message is dumped from a transport event sink during the
> > > > OnMessageSubmission Event. It comes from a MAPI client.
> > > > I wanted to parse the TNF stream, yes, but before that, I would like
> to
> > > > extract it from the message. From now on I fail to do that with CDO.
> > > >
> > > > "Dmitry Streblechenko (MVP)" <dmitry@dimastr.com> wrote in message
> > > > news:OhTm53u%23DHA.3220@TK2MSFTNGP10.phx.gbl...
> > > > > Please be more specific, most people would not open an attachment
> (any
> > > > > attachment) from a newsgroup.
> > > > > You can parse a TNEF stream (that's what winmail.dat is)
> > > programatically.
> > > > > See MSDN; I also have a sample Delphi class that parses TNEF - go
to
> > the
> > > > URL
> > > > > in my sig., click OutlookSpy, then Resources.
> > > > >
> > > > > Dmitry Streblechenko (MVP)
> > > > > http://www.dimastr.com/
> > > > > OutlookSpy - Outlook, CDO
> > > > > and MAPI Developer Tool
> > > > >
> > > > >
> > > > > "Olivier Matrot"
> > <olivier.matrot@REMOVE_CAPS_AND_INVALIDrte.fr.invalid>
> > > > > wrote in message news:uX432pr%23DHA.3232@TK2MSFTNGP10.phx.gbl...
> > > > > > Can someone show me how to extract attachment frm this type of
EML
> > > file
> > > > > with
> > > > > > CDO ?
> > > > > > TIA
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
- Next message: Dmitry Streblechenko \(MVP\): "Re: Custom controls in OL toolbar"
- Previous message: Olivier Matrot: "Re: How to extract attachments from this message with CDO ?"
- In reply to: Olivier Matrot: "Re: How to extract attachments from this message with CDO ?"
- Next in thread: Olivier Matrot: "Re: How to extract attachments from this message with CDO ?"
- Reply: Olivier Matrot: "Re: How to extract attachments from this message with CDO ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|