Convert Email Files using Java API
Convert Email Files between Formats in Java Programmatically
One of the key features of Aspose.Email for Java is the ability to convert email files between various formats. This flexibility facilitates the access to the email content regardless of the device or email client used.
Supported Formats
All formats available for conversion with Aspose.Email for Java are listed on the Supported File Formats page. You can find the description of their possibilities and advantages, code samples and best practices on the following pages:
- Convert EML to Other Formats - This type of conversion includes conversion of EML/EMLX files to EMLX, HTML, ICS, MBOX, MHTML, MSG, OFT, OST, PST and VCF formats.
- Convert HTML to Other Formats
- Convert ICS to Other Formats
- Convert MBOX to Other Formats
- Convert MHTML to Other Formats
- Convert MSG to Other Formats
- Convert OFT to Other Formats
Customization
Aspose.Email allows you to customize the output files. It means that the library provides options for saving the output files in the desired format as well as specifying the target folder structure, setting conversion options for attachments and embedded objects, controlling the output encoding, and more.
The saving options provided by Aspose.Email ensure compatibility and interoperability with a wide range of email clients, servers, and platforms.
Batch Processing
Aspose.Email makes it possible to import a set of messages from a folder to a file with a target format. For example, it is possible to import more than one EML message into the Inbox folder within a PST file.
Data Integrity
Aspose.Email for Java ensures the preservation of the original formatting, attachments, and multimedia elements of the email during the conversion process. You can learn about the specifics of the items handling in the conversion process on the pages with the required type of conversion. For example, on the Convert EML to Other Formats page, you can find out about the ways of preserving resources when converting EML to HTML without data loss. For this purpose, Aspose.Email provides a set of classes and methods to manipulate resources in an HTML file and a code sample for testing.
Free Trial Version
On the Aspose.Email for Java official site a free trial version of the email processing library is offered. With the free trial, developers can explore a wide range of features and functionalities, including email parsing, manipulation, conversion, and more.