We are pleased to announce the release of Aspose.Email for .NET 17.6. It includes new features and enhancements related to various functional areas of the API. Specifically, the enhancements are related to the API’s IMAP, EWS client and rendering of messages to MHTML. The API also fixes several bugs that further improve the performance and functionality of the API. For a complete list of what is new and fixed, please visit the release notes section of API documentation.

Add Custom Flag to Messages using IMAP in C#

This month’s release introduces a new feature of adding custom flags to a message on the server using the API’s ImapClient. Custom flags can be added to a message using the AddMessageFlags method using the ImageMessageFlags. This is illustrated in the code sample below.

Filter Messages based on Custom Flags using C#

Not only you can add custom flags to messages on server using the API’s ImapClient, but you can also filter messages by specifying custom flags. The ImapQueryBuilder’s HasFlags and HasNoFlags can be used for this purpose as shown in the code sample below.

Skip Inline Images during Email Conversion

Email messages with multiple or large size images embedded in them can take considerable time and system resources during conversion to MHTML format. This month’s release provides the capability to skip inline images from including in output MHTML using the MhtSaveOptions class’s SkipInlineImages property. Setting this flag avoids writing inline images from the message body to output MHTML.

API Resources

The following API resources can be of help to you in getting started with Aspose.Email API.