Is there any way to read a mail within outlook (using an add-in) and save it as an EML file?
You can go two ways to achieve your goal:
With the following code, you can easily convert MSG to EML. Look how simple it is with Aspose.Email for .NET.
using (var message = Aspose.Email.MailMessage.Load("template.msg»))
{
message.Save("output.eml", Aspose.Email.SaveOptions.DefaultEml);
}
I am a Developer Evangelist at Aspose.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With