Aspose.Email for Java 23.1 Release Notes

All Changes

KeySummaryCategory
EMAILNET-40906Add properties in MboxMessageInfo classEnhancement
EMAILNET-40932GraphClient not populating RecipientsBug
EMAILNET-40914Error in getting Task itemsBug
EMAILNET-40905PersonalStorage.SplitInto throws Generic.KeyNotFoundExceptionBug
EMAILNET-40930Saving contact in all formats will render the characters not correctlyBug
EMAILNET-40924Not well preserving digital signaturesBug
EMAILNET-40909Fetch message through Microsoft Graph has wrong charsetBug
EMAILNET-40931Saving ics in mhtml will render the plain text body instead htmlBug
EMAILNET-40922MapiCalendar not honouring MAPI properties when generating MIMEBug
EMAILJAVA-35133Query feature does not appear to work in GraphClientBug
EMAILJAVA-35141Problem with SMIME signatureBug
EMAILJAVA-35143Problem with the attachment-filename of a signed emailBug

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());
}