Click or drag to resize

ImapSearch Method

Overload List
  NameDescription
Public methodCode exampleSearch
Creates new search query.
Public methodSearch(Flag)
Gets UIDS of all messages in the current folder (mailbox) with specified flag sorted from oldest to newest. Equivalent to Search(Expression.HasFlag(flag))
Public methodCode exampleSearch(ICriterion)
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.
Top
See Also