Aspose.Email for Java 23.1 Release Notes

All Changes

Key Summary Category
EMAILNET-40906 Add properties in MboxMessageInfo class Enhancement
EMAILNET-40932 GraphClient not populating Recipients Bug
EMAILNET-40914 Error in getting Task items Bug
EMAILNET-40905 PersonalStorage.SplitInto throws Generic.KeyNotFoundException Bug
EMAILNET-40930 Saving contact in all formats will render the characters not correctly Bug
EMAILNET-40924 Not well preserving digital signatures Bug
EMAILNET-40909 Fetch message through Microsoft Graph has wrong charset Bug
EMAILNET-40931 Saving ics in mhtml will render the plain text body instead html Bug
EMAILNET-40922 MapiCalendar not honouring MAPI properties when generating MIME Bug
EMAILJAVA-35133 Query feature does not appear to work in GraphClient Bug
EMAILJAVA-35141 Problem with SMIME signature Bug
EMAILJAVA-35143 Problem with the attachment-filename of a signed email Bug

New Features

Retrieving message properties from MboxMessageInfo

We have added the following properties to MboxMessageInfo class:

  • Date Date - Gets the date of message
  • MailAddress From - Gets the from address
  • String Subject - Gets the message subject
  • MailAddressCollection To - Gets the address collection that contains the recipients of message
  • MailAddressCollection CC - Gets the address collection that contains CC recipients
  • MailAddressCollection Bcc - Gets the address collection that contains BCC recipients of message

Code sample

MboxStorageReader reader = MboxStorageReader.createReader("fileName", new MboxLoadOptions());

for (MboxMessageInfo mboxMessageInfo : reader.enumerateMessageInfo()) {
    System.out.println("Subject: " + mboxMessageInfo.getSubject());
    System.out.println("Date: " + mboxMessageInfo.getDate());
    System.out.println("From: " + mboxMessageInfo.getFrom());
    System.out.println("To: " + mboxMessageInfo.getTo());
    System.out.println("CC: " + mboxMessageInfo.getCC());
    System.out.println("Bcc: " + mboxMessageInfo.getBcc());
}