'msg to eml format conversion
I'm searching for a method to convert msg files to eml format. I have Outlook 2010 but it appears only possible to save as msg. I did find some third party tools that can be used but I prefer not to use a third party tool - if possible.
Solution 1:[1]
MSG file and EML file both formats are used for containing the email with the attachment, but different from each other. EML extension used by multiple email clients, other hand MSG file only used by Outlook email client. In your scenario, you need an effective way to convert multiple MSG files to EML format, by using Outlook email client you can easily convert MSG file to EML format by using save as option of Outlook email client, but this way cannot convert their attachment.
Solution 2:[2]
If you are looking for a quick and dirty VB script, Redemption (I am its author) is probably your only option. Other options are IConverterSession (C++ or Delphi only) or explicitly building the MIME file one line at a time from various message properties (MailItem can be returned by calling Namespace.OpenSharedItem in the Outlook Object Model).
set Session = CreateObject("Redemption.RDOSession")
Session.Logon 'not needed if you don't need to convert EX addresses to SMTP
set Msg = Session.GetMessageFromMsgFile("c:\temp.test.msg")
Msg.SaveAs "c:\temp.test.eml", 1031
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | S.wright |
| Solution 2 |
