ImapSearch |
| Name | Description | |
|---|---|---|
| SearchAsync | Creates new search query. | |
| SearchAsync(Flag, CancellationToken) | Gets UIDS of all messages in the current folder (mailbox) with specified flag sorted from oldest to newest. Equivalent to Search(Expression.HasFlag(flag)) | |
| SearchAsync(ICriterion, CancellationToken) | Gets UIDS of all messages that match specified search criteria using server-side searching sorted from oldest to newest. Use And(ICriterion), Or(ICriterion, ICriterion) and other Expression methods to create a valid search query. You can also pass SimpleImapQuery to this method. |