Browse our Products

Aspose.Email for Java 23.8 Release Notes

All Changes

KeySummaryCategory
EMAILNET-40968Save Mapi DistList to a single multi contact vcf fileFeature
EMAILNET-39878Support for MailMessage overload in sending message GraphClientFeature
EMAILNET-41079Improve message validationEnhancement
EMAILNET-40870Add option to seach and fill sender SMTP address in EMLEnhancement
EMAILNET-41125System.ArgumentNullException when processing certain emailsBug
EMAILNET-41126Problems with WebDav/Vcf conversionBug
EMAILNET-41117Does not match the container classBug
EMAILNET-41107ImapClient.ListMessages returns fake ImapMessageInfoBug
EMAILJAVA-35202Aspose Adding Additional Quotes In Mail Message Appointment Alternate View - Cannot Then Convert To Mapi MessageBug
EMAILJAVA-35196NotSupportedException: No data is available for encoding 4024Bug

New Features

Save Mapi Distribution List to a Single Multi Contact VCF File

To save a Mapi Distribution List to a multi-contact VCF file, the following method has been added:

  • void save(String fileName, MapiDistributionListSaveOptions options): This method allows you to save the Mapi Distribution List to a specified file name using the provided save options. You can provide the file name and an instance of the MapiDistributionListSaveOptions class as parameters.

The MapiDistributionListSaveOptions class contains options for saving the Mapi Distribution List. In this case, you can specify the save format as VCard (ContactSaveFormat.VCard) to save the distribution list as a multi-contact VCF file.

Here is a sample code snippet that demonstrates how to save a distribution list to a multi-contact VCF file:

MapiDistributionList dlist = (MapiDistributionList)msg.toMapiMessageItem();
MapiDistributionListSaveOptions options = new MapiDistributionListSaveOptions(ContactSaveFormat.VCard);
dlist.save("distribution_list.vcf", options);