Transform EML to WORD in Andorid Apps
Desing Andorid applications to export EML to WORD by using Andorid via Java API
How to Render EML to WORD 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 EML to WORD by the combination of Aspose.Email for Android Java & Aspose.Words for Andorid Java . Using the first API you can convert EML file format to HTML and by using second API, you can render HTML as WORD.Convert EML to WORD in Andorid
- Open EML file using MailMessage class
- Convert EML to HTML by using save method
- Load HTML by using Document class
- Save the document to DOCX format using save method and set DOCX 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 EML to WORD Conversion in Andorid Apps
// load the EML file to be converted
MailMessage message = MailMessage.load("sourceFile.eml");
// save EML 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.DOCX
document.save("output.docx", SaveFormat.DOCX);
EML What is EML File Format?
EML file format represents email messages saved using Outlook and other relevant applications. Almost all emailing clients support this file format for its compliance with RFC-822 Internet Message Format Standard. Microsoft Outlook is the default software for opening EML message types. EML files can be used for saving to disc as well as sending out to recipients using communication protocols.
Read MoreDOCX What is DOCX File Format?
DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Docx files can be opened with Word 2007 and lateral versions but not with the earlier versions of MS Word which support DOC file extensions.
Read More