Transform EMLX to OTT in Andorid Apps
Desing Andorid applications to export EMLX to OTT by using Andorid via Java API
How to Render EMLX to OTT 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 OTT 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 OTT.Convert EMLX to OTT 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 OTT format using save method and set OTT 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 OTT 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.OTT
document.save("output.ott", SaveFormat.OTT);
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 OTT File Format
OpenDocument Standard Format (OTT) is a file format for office documents, such as text documents, spreadsheets, and presentations. It is an open standard developed by the OpenDocument Foundation. The format is based on the XML format used by the OpenOffice.org office suite. OTT files can be opened by a variety of office software programs, including Microsoft Office, LibreOffice, and Apache OpenOffice.
Read More