Rebex MSG is a .NET library for reading, processing and writing Microsoft Outlook .MSG e-mail message files. It does not need Outlook to be installed and supports all mainstream .NET platforms, ranging from .NET Framework 3.5 on Windows 7 to .NET 5.0 on Windows, Linux and macOS.
With Rebex MSG's simple API, working with Outlook MSG files is easy:
// create an instance of MsgMessage var message = new MsgMessage(); // set properties message.Sender = "email@example.com"; message.To.Add("firstname.lastname@example.org", "Rebex"); message.To.Add("Bob <email@example.com>"); message.Subject = "MSG example"; message.SetBody("Created by Rebex MSG."); // save the message to a file message.Save("example.msg");
Rebex MSG is available as a standalone package or as a part of Rebex Total Pack. If you already have an active support contract for Rebex Total Pack, you can download the full version including the MSG library now!