Re: Process E-mail attachements
- From: "Dmitry Streblechenko" <dmitry@xxxxxxxxxxx>
- Date: Mon, 19 May 2008 11:48:46 -0700
You would need to first convert the EML files (which Outlook does not
understand natively) to regular messages.
There is nothing in OOM that can help you. Outlook 2002 and higher expose
IConverterSEssion object that can be used for conversion in Extended MAPI
(C++ or Delphi only).
<plug>
you can use Redemption to import EML files to Outlook (see
SafeMailItem.Import) or (if you do not want the temporary messages in
Outlook) you can create temporary standalone MSG files and import EML files:
set Session = CreateObject("Redemption.RDOSession")
set Msg = Session.CreateMessageFromMsgFile("c:\temp\test.msg", "IPM.Note",
1)
Msg.Import "c:\Temp\attach.eml", 1024
Msg.Save
MsgBox Msg.Attachments.Count
</plug>
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Homr Zodyssey" <Homr Zodyssey@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D7CA01C7-E915-4F23-901D-C56B725B2A81@xxxxxxxxxxxxxxxx
I'm having a similar dilemma, I think.
I received a dozen emails. Each of them has a dozen more emails as
attachments (.eml files). Each of these has multiple attachmetns that are
files like PDFs, CSVs, etc.
I'm having trouble accessing the attachments of the attachments using VBA.
.
- Follow-Ups:
- Re: Process E-mail attachements
- From: Homr Zodyssey
- Re: Process E-mail attachements
- References:
- Process E-mail attachements
- From: Question Boy
- Re: Process E-mail attachements
- From: Dmitry Streblechenko
- Re: Process E-mail attachements
- From: Homr Zodyssey
- Process E-mail attachements
- Prev by Date: Re: Strip illegal character from filename
- Next by Date: Re: Address lookup doesn't work when adding to outlook address boo
- Previous by thread: Re: Process E-mail attachements
- Next by thread: Re: Process E-mail attachements
- Index(es):
Relevant Pages
|