Working with ImapClient Asynchronously

Messages can be retrieved from mailbox asynchronously by using the Aspose.Email’s ImapClient. This article shows retrieving messages from mailbox Asynchronously. This article also shows how to list messages by providing search criteria using MailQuery.

Retrieve Messages Asynchronously

The following code snippet shows you how to retrieve messages asynchronously.

List Messages Asynchronously with MailQuery

The MailQuery class can be used to specify search criteria for retrieving a specified list of messages asynchronously as is shown in the following code sample.