Skip to end of metadata
Go to start of metadata

This page contains release notes information for Aspose.Email for .NET 20.4

All Changes

EMAILNET-39771Apose.Email SMTP failing in .NET Core 3.1Enhancement
EMAILNET-39737MailMessage AttachSignature in .NET CoreEnhancement
EMAILNET-39783Support for the ability to Ignore exceptionsEnhancement
EMAILNET-39786Get message infos by unique identifiers for Pop3Client and ImapClientEnhancement
EMAILNET-39796Message fails to process with ArgumentExceptionBug
EMAILNET-39799Space getting removed while saving OFT to MSGBug
EMAILNET-39797ArgumentOutOfRangeException occurs when loading MailMessage from an html fileBug
EMAILNET-39773Filtering downloaded messages using ImapQueryBuilder failsBug
EMAILNET-39776Unable to download message listBug
EMAILNET-39770System.ArgumentOutOfRangeException while loading a MSGBug
EMAILNET-39764How to set description(body) for modified occurenceBug
EMAILNET-39790ReplyMessageBuilder.buildresponse fails while building a response if attachments are presentBug
EMAILNET-39789Converted MSG to EML does not have From addressBug
EMAILNET-39792MSG to EML output wrong (Plain Text)Bug
EMAILNET-39791ImapClient crashes application even called in try catchBug

New features

Enable mail clients activity logging in a .NET Core projects 

Now SmtpClient, Pop3Client, ImapClient and EWSClient activity can be logged by modifying (or adding) appsettings.json file in .NET Core project. For that, it is needed to set the special settings into the file.

To turn on logging, the following settings must be included into the log file, containing the correct path:

Here is an example of appsettings.json.

Support for the ability to ignore exceptions 

We have prepared a new functionality to ignore exceptions - ExceptionManager class has been added to provide ignore exceptions ability:

Code examples:

Set a callback to handle exceptions:

Or use an alternative:

It’s possible to ignore all exceptions:

Also, you can set a callback for ignored exceptions log:

The user will be notified, that the exception can be ignored by an error message. For example:

  • No labels