Getting Decoded Header value and HTML Body Text using Aspose.Email for Java 5.1.0

Share on FacebookTweet about this on TwitterShare on LinkedIn

We are pleased to announce the release of Aspose.Email for Java 5.1.0 that includes a number of enhancements and improvements to the API. For a complete list of enhancements and improvements, please visit the product download page. Complete list of API changes in this recent version can be found in our documentation article, Public API Changes in Aspose.Email for Java.

Enhancements

This month’s release includes the following enhancements:

Getting Decoded Header Value: Message headers include encoding characters along with normal message text. This month’s release provides the capability of getting decoded header values using the getDecodedValue method of HeaderCollection. More Info

Preserving Original Email Address: This month’s release also includes an enhancement of preserving original email addresses that may contain malformed/invalid characters. Such characters can be part of the mail address in cases, for example, where the email is received internally within organization from Exchange server. The setPreserverOriginalAddresses can be used to ignore the validity check while converting MailMessage to MapiMessage.

Getting Textual Message Information from Message’s HTML Body: This month’s release also includes an enhancement where message’s HTML body equivalent text can be retrieved if the HTML information is malformed due to some reason. This can be achieved using the getHtmlBodyText method of MailMessage class.

Other Improvements

Ported form its equivalent .NET version, this month’s release also includes a number of bug fixes which further improves the API functionality. These include:

  • Issues related to PST such as sender name not shown in PST, corrupt task and meeting body while adding tasks to PST, and exceptions while extracting messages from a PST
  • Encoding issues while converting messages from one format to another
  • Exception while loading appointment from ICS, loading EML files and EML to MHT conversions

As always, we encourage you to contact us for any query/inquiry related to the API. We’ll be glad to address your issues and assist you further over Aspose.Email forum.