• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Get Decoded Values from Message Headers & Preserve Original Email Address using Java

Ranch Hand
Posts: 714
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is new in this release?

We are pleased to announce the new release of Aspose.Email for Java 5.1.0 . 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. 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. 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. This 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. 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 and Exception while loading appointment from ICS, loading EML files and EML to MHT conversions. The main improved features & bug fixes added in this release are listed below

- OAuth support for SMTP and IMAP clients for Outlook.com
- Option to save original email address with invalid characters in MapiMessage - Java
- Encoded header "Thread-Topic" not visible properly
- Take value of Body from PR_HTML if Body Property is disturbed
- Sender Name not shown in PST
- MailMessage.Subject returns wrong Subject
- Message body garbled while loading from Mhtml and sending through Outlook
- Task body corrupted after adding it to PST
- Meeting body corrupted after adding to PST
- Appointment body and reminder values corrupted after adding to PST
- The MimeBasePart.DecodeHeaderValue method not working properly
- Saved message formatting corrupted after sending it
- Dynamic Tag not working in template MSG file

Other most recent bug fixes are also included in this release.

Newly added documentation pages and articles

Some new tips and articles have now been added into Aspose.Email for Java documentation that may guide you briefly how to use Aspose.Email for performing different tasks like the followings.

- Customizing Email Headers
- Displaying Email Information on Screen

Overview:Aspose.Email for Java

Aspose.Email for Java is a Non-Graphical Java component that enables Java applications to read and write Microsoft Outlook documents without utilizing Microsoft Outlook. It enables developers to create new MSG file from scratch, update an existing MSG file, read Outlook MSG file & get it's properties like subject, body, recipients in to, cc and bcc, Adding or removing attachment, sender information and MAPI properties. Aspose.Email for Java can be used with Web as well as Desktop Application.

More about Aspose.Email for Java

- Homepage of Outlook PST, MSG & EML Java Component, Aspose.Email for Java
- Download Aspose.Email for Java
- Online documentation of Aspose.Email for Java
- Demos of Aspose.Email for Java

Contact Information
Aspose Pty Ltd,
Suite 163, 79 Longueville Road
Lane Cove, NSW, 2066
Aspose - Your File Format Experts
Phone: 888.277.6734
Fax: 866.810.9465
    Bookmark Topic Watch Topic
  • New Topic