C++ or Delphi: use IConverterSession (Outlook 2002 or higher must be
installed)
<plug>
..Net/VB/any other language: you can use Redemption:
set Session = CreateObject("Redemption.RDOSession")
set Msg = Session.CreateMessageFromMsgFile("c:\temp\new.msg")
Msg.Import "c:\temp\mime.eml", 1024
Msg.Save
</plug>
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Dave" <(E-Mail Removed)> wrote in message
news:43F1E02F-7B16-4E17-BB29-(E-Mail Removed)...
>I have an event sink that is capturing email based on criteria and saving a
> copy. Since it is coming off of SMTP, it is RFC822 format. I would like
> to
> know how to convert those back to the Outlook message format .msg file.