Transform EMLX to DOTM in Andorid Apps
Desing Andorid applications to export EMLX to DOTM by using Andorid via Java API
How to Render EMLX to DOTM in Andorid Applications
Andorid 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 EMLX to DOTM by the combination of Aspose.Email for Android Java & Aspose.Words for Andorid Java . Using the first API you can convert EMLX file format to HTML and by using second API, you can render HTML as DOTM.Convert EMLX to DOTM in Andorid
- Open EMLX file using MailMessage class
- Convert EMLX to HTML by using save method
- Load HTML by using Document class
- Save the document to DOTM format using save method and set DOTM 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 EMLX to DOTM Conversion in Andorid Apps
// load the EMLX file to be converted
MailMessage message = MailMessage.load("sourceFile.emlx");
// save EMLX 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.DOTM
document.save("output.dotm", SaveFormat.DOTM);
What is EMLX File Format
An EMLX file is a mail message file created by Apple Mail, a default email client for macOS. It contains the email message in MIME format, along with attachments, if any. EMLX files are typically saved in the Mail directory of a users home folder. EMLX files can be opened with Apple Mail or other email clients that support the format. They can also be opened with text editors, which can be useful for viewing the raw email data. EMLX files were introduced in Mac OS X 10.4 (Tiger). Prior to that, Apple Mail used the . EML format for saved email messages.
Read MoreWhat is DOTM File Format
A DOTM file is a template used by Microsoft Word. It contains customizations and settings such as macros, toolbars, and AutoText entries. DOTM files are saved in the XML format and can be opened by Word and other word processing applications.
Read More