Transform MSG to DOCM in Andorid Apps
Desing Andorid applications to export MSG to DOCM by using Andorid via Java API
How to Render MSG to DOCM in Andorid ApplicationsAndorid Apps are easy to use for end users on daily bases. Day by day numbers of Andorid phones users are increasing. Using the powerful Aspose.Total for Android via Java File Format Automation libraries you can develope Email manipulation and convertion applications. You can convert MSG to DOCM by the combination of Aspose.Email for Android Java & Aspose.Words for Andorid Java . Using the first API you can convert MSG file format to HTML and by using second API, you can render HTML as DOCM.
Convert MSG to DOCM in Andorid
- Open MSG file using MailMessage class
- Convert MSG to HTML by using save method
- Load HTML by using Document class
- Save the document to DOCM format using save method and set DOCM as SaveFormat
Get Started with Andorid via Java APIs
You can easily use Aspose.Total for Android via Java directly from Maven and install Aspose.Email for Android via Java and Aspose.Words for Andorid via Java in your applications.
Alternatively, you can get a ZIP file from downloads .
Code for MSG to DOCM Conversion in Andorid Apps
// load the MSG file to be converted MailMessage message = MailMessage.load("sourceFile.msg"); // save MSG as a HTML message.save("HtmlOutput.html", SaveOptions.getDefaultHtml()); // load HTML with an instance of Document Document document = new Document("HtmlOutput.html"); // call save method while passing SaveFormat.DOCM document.save("output.docm", SaveFormat.DOCM);
What is MSG File Format
An MSG file is a Microsoft Outlook Message file. It is a file format used by Microsoft Outlook to store email messages, contact items, and meeting requests. MSG files can be opened by Microsoft Outlook, Microsoft Outlook Express, and other email clients.MSG files are typically saved in the Outlook Message Format, which is a proprietary format used by Microsoft Outlook. MSG files can also be saved in the MIME RFC 822 format, which is a standard format for email messages.MSG files can contain email messages, contacts, appointments, and other items. MSG files can be created by Microsoft Outlook, Microsoft Outlook Express, and other email clients.Read More
What is DOCM File Format
The DOCM file format is a Microsoft Word 2007 Marco File. It is a XML document that contains macros, scripts, and other programming code. The DOCM file format is used to store macro-enabled documents. These documents can be opened and edited using Microsoft Word 2007 or later. DOCM files are typically used to store documents that contain macros that automate tasks.Read More