How to convert a RFC822 (.eml) file to Outlook format (.msg)

D

Dave

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.
 
D

Dmitry Streblechenko

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
-
 
Joined
Jun 6, 2024
Messages
12
Reaction score
0
Try BitRecover EML Converter, where you can download all email files with attachments in a few single mouse clicks. Moreover, you can download email information not only in MSG, but also in PST, MBOX and many more different file formats. Also, there is no need for Outlook installation required to perform conversion.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top