Preserve Attachment Formats with Aspose.Email for Java 17.12

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

aspose-email-for-javaWe are pleased to announce the release of Aspose.Email for Java 17.12. This release brings the same improvements that are part of equivalent Aspose.Email for .NET version. Specifically, it provides the capability to preserve attachment’s format while extracting Contacts and Tasks from PST file. For detailed note on what is new and fixed, please visit the release notes section of API documentation.

Preserving Attachments Format During Conversion

This release introduces the capability to save Outlook item’s attachment format during saving to disc. Attachment MSG formats can now be preserved while exporting Outlook Contacts and Tasks from PST file. This can be achieved using the setPreserveEmbeddedMessageFormat method of EmlSaveOptions to true.

EmlSaveOptions saveOptions = new EmlSaveOptions(MailMessageSaveType.getEmlFormat());
saveOptions.setPreserveEmbeddedMessageFormat(true);
message.save("output.eml", saveOptions);

Other Improvements

This release also includes several improvements in term of bug fixes. These include issues related to:

  • Processing of encrypted messages
  • Email messages to MHTML
  • Rendering of hyperlinks to HTML during conversion
  • Timezone changes during conversion of EML to MSG
  • Exceptions while converting messages to MSG and ICS
  • Loss of formatting during messages conversion to XPS

API Resources

We have detailed information available online for getting started with the Aspose.Email for Java API. These are:


To keep up with our news, you can follow us on Twitter or follow our Facebook page.

Leave a Reply