Skip to content

Convert MSG to Other Formats

shoaibkhan-aspose edited this page Jun 12, 2014 · 2 revisions

Aspose.Email

// Initialize and Load an existing MSG file by specifying the MessageFormat
MailMessage msg = MailMessage.load("data/message.msg", MessageFormat.getMsg());

// Save the Email message to disk by specifying the EML and MHT MailMessageSaveType
msg.save("data/AsposeMessage.eml", MailMessageSaveType.getEmlFormat());
msg.save("data/Asposemessage.mhtml", MailMessageSaveType.getMHtmlFromat());

Download Source Code

For More Examples, Please Visit Aspose Docs

Clone this wiki locally