Click or drag to resize
MimeKit

SearchTerm Enumeration

A search term.

Namespace: MailKit.Search
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public enum SearchTerm
Members
Member nameValueDescription
All0 A search term that matches all messages.
And1 A search term that logically combines 2 or more other search expressions such that messages must match both expressions.
Annotation2 A search term that matches messages that have the specified annotation.
Answered3 A search term that matches answered messages.
BccContains4 A search term that matches messages that contain a specified string within the Bcc header.
BodyContains5 A search term that matches messages that contain a specified string within the body of the message.
CcContains6 A search term that matches messages that contain a specified string within the Cc header.
Deleted7 A search term that matches deleted messages.
DeliveredAfter8 A search term that matches messages delivered after a specified date.
DeliveredBefore9 A search term that matches messages delivered before a specified date.
DeliveredOn10 A search term that matches messages delivered on a specified date.
Draft11 A search term that matches draft messages.
Filter12 A search term that makes use of a predefined filter.
Flagged13 A search term that matches flagged messages.
FromContains14 A search term that matches messages that contain a specified string within the From header.
Fuzzy15 A search term that modifies another search expression to allow fuzzy matching.
HeaderContains16 A search term that matches messages that contain a specified string within a particular header.
Keyword17 A search term that matches messages that contain a specified keyword.
LargerThan18 A search term that matches messages that are larger than a specified number of bytes.
MessageContains19 A search term that matches messages that contain a specified string anywhere within the message.
ModSeq20 A search term that matches messages that have the specified modification sequence value.
New21 A search term that matches new messages.
Not22 A search term that modifies another search expression such that messages must match the logical inverse of the expression.
NotAnswered23 A search term that matches messages that have not been answered.
NotDeleted24 A search term that matches messages that have not been deleted.
NotDraft25 A search term that matches messages that are not drafts.
NotFlagged26 A search term that matches messages that have not been flagged.
NotKeyword27 A search term that matches messages that do not contain a specified keyword.
NotRecent28 A search term that matches messages that are not recent.
NotSeen29 A search term that matches messages that have not been seen.
Older30 A search term that matches messages that are older than a specified date.
Or31 A search term that logically combines 2 or more other search expressions such that messages only need to match one of the expressions.
Recent32 A search term that matches messages that are recent.
SaveDateSupported33 A search term that matches all messages in the mailbox when the underlying storage of that mailbox supports the save date attribute. Conversely, it matches no messages in the mailbox when the save date attribute is not supported.
SavedBefore34 A search term that matches messages that were saved to the mailbox before a specified date.
SavedOn35 A search term that matches messages that were saved to the mailbox on a specified date.
SavedSince36 A search term that matches messages that were saved to the mailbox since a specified date.
Seen37 A search term that matches messages that have been seen.
SentBefore38 A search term that matches messages that were sent before a specified date.
SentOn39 A search term that matches messages that were sent on a specified date.
SentSince40 A search term that matches messages that were sent since a specified date.
SmallerThan41 A search term that matches messages that are smaller than a specified number of bytes.
SubjectContains42 A search term that matches messages that contain a specified string within the Subject header.
ToContains43 A search term that matches messages that contain a specified string within the To header.
Uid44 A search term that matches messages included within a specified set of unique identifiers.
Younger45 A search term that matches messages that are younger than a specified date.
GMailMessageId46 A search term that matches messages with a specified GMail message identifier.
GMailThreadId47 A search term that matches messages with a specified GMail thread (conversation) identifier.
GMailLabels48 A search term that matches messages with the specified GMail labels.
GMailRaw49 A search term that uses the GMail search syntax.
Remarks
The search term as used by SearchQuery.
See Also