Browse our Products

Aspose.Email for .NET 20.11 Release Notes

All Changes

KeySummaryCategory
EMAILNET-39718Implement autodiscover service client on .NET CoreFeature
EMAILNET-39966IEWSClient SortOrder supportFeature
EMAILNET-39967MSG to MHTML results in output with no bodyEnhancement
EMAILNET-39976EML file has incorrect attachments count, attachments not rendered to MTHMLBug
EMAILNET-39963GetHtmlBodyText does not honor CSS stylesBug
EMAILNET-39956Setting MapiTask category doesn’t workBug
EMAILNET-39960Add MSG to PST Exception. “An element with the same key already exists”Bug
EMAILNET-39975Item category in PST does not work doesn’t workBug
EMAILNET-39965“Arithmetic operation resulted in an overflow” exception when enumerating messages in licensed modeBug
EMAILNET-39969GetContents(start, count) throws exception for some starting offsetsBug

New Features

Autodiscover service client on .NET Core

.NET Core version of Aspose.Email now supports AutodiscoverService. Find usage examples here.

Retrieve Exchange items with an ascending/descending order sorting

We’ve added sorting feature to MailQueryBuilder.

The following API has been added:

  • Aspose.Email.Tools.Search.ComparisonField.OrderBy(bool ascending) - sets the value which indicates if the client uses ascending or descending sorting on the search field.

Code sample:

MailQueryBuilder builder = new MailQueryBuilder();
builder.Subject.Contains("Report");
builder.InternalDate.Since(new DateTime(2020, 1, 1));
builder.Subject.OrderBy(true); // sort the subject ascending
builder.InternalDate.OrderBy(false); // sort the date descending  

ExchangeMessageInfoCollection miColl = client.ListMessages(client.MailboxInfo.InboxUri, builder.GetQuery());