aspose-email-for-java

We 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 format while extracting Contacts and Tasks from the PST file. For a 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 terms 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 the 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: