Expression Methods |
The Expression type exposes the following members.
Name | Description | |
---|---|---|
All |
Creates a criterion to find all messages.
| |
And |
Creates conjunction between expressions (AND).
| |
Bcc |
Creates a criterion to find messages that contain the specified string in the envelope structure's BCC field.
| |
Before |
Creates a criterion to find messages whose internal date (disregarding time and timezone), assigned by an IMAP server, is earlier than the specified date.
| |
Body |
Creates a criterion to find messages that contain the specified string in the body of the message.
| |
Cc |
Creates a criterion to find messages that contain the specified string in the envelope structure's CC field.
| |
From |
Creates a criterion to find messages that contain the specified string in the envelope structure's FROM field.
| |
GmailLabel |
Creates a criterion to find messages with specified Gmail label (X-GM-LABELS).
This method can be used only if server advertises XGMailExtensions1 extension support.
| |
GmailMessageId(Decimal) |
Creates a criterion to find messages with specified Gmail message id (X-GM-MSGID).
This method can be used only if server advertises XGMailExtensions1 extension support.
| |
GmailMessageId(String) |
Creates a criterion to find messages with specified Gmail message id (X-GM-MSGID).
This method can be used only if server advertises XGMailExtensions1 extension support.
| |
GmailRawSearch |
Creates a criterion to find messages with specified Gmail thread id (X-GM-THRID).
This method can be used only if server advertises XGMailExtensions1 extension support.
| |
GmailThreadId(Decimal) |
Creates a criterion to find messages with specified Gmail thread id (X-GM-THRID).
This method can be used only if server advertises XGMailExtensions1 extension support.
| |
GmailThreadId(String) |
Creates a criterion to find messages with specified Gmail thread id (X-GM-THRID).
This method can be used only if server advertises XGMailExtensions1 extension support.
| |
HasFlag |
Creates a criterion to find messages that have specified flag set.
| |
HasHeader |
Creates a criterion to find messages that have specified header.
| |
HasKeyword |
Creates a criterion to find messages with the specified keyword flag set.
| |
Header |
Creates a criterion to find messages that have a header with the specified field-name (as defined in [RFC-2822]) and that contains the specified string
in the text of the header (what comes after the colon). If the string to search is zero-length,
this matches all messages that have a header line with the specified field-name regardless of the contents.
| |
Larger |
Creates a criterion to find messages with an [RFC-2822] size larger than the specified number of octets.
| |
MessageId |
Creates a criterion to find messages, that have a message-id header,
that contains specified value (contains the specified string in the text of the header).
If the string to search is zero-length, this matches all messages that have a Message-ID header name regardless of the contents.
| |
ModSeq |
Creates a criterion to find messages with modification sequence values (mod-sequence) greater than the specified value (MODSEQ).
You can use this criterion to find new and modified messages since the last time you opened a mailbox.
This method can be used only if server advertises CONDSTORE extension support.
| |
Not |
Creates a criterion to find messages that do not match the specified search key.
| |
On |
Creates a criterion to find messages whose internal date (disregarding time and timezone) is within the specified date.
In other words, "ON 13-APR-2000" means messages with an INTERNALDATE text which starts with "13-APR-2000",
even if timezone differential from the local timezone is sufficient to move that INTERNALDATE into the previous or next day.
| |
Or |
Creates disjunction between two expressions (OR).
| |
SentBefore |
Creates a criterion to find messages whose [RFC-2822] Date: header (disregarding time and timezone) is earlier than the specified date.
| |
SentOn |
Creates a criterion to find messages whose [RFC-2822] Date: header (disregarding time and timezone) is within the specified date.
| |
SentSince |
Creates a criterion to find messages whose [RFC-2822] Date: header (disregarding time and timezone) is within or later than the specified date.
| |
Since |
Creates a criterion to find messages whose internal date (disregarding time and timezone), assigned by an IMAP server, is within or later than the specified date.
| |
Smaller |
Creates a criterion to find messages with an [RFC-2822] size smaller than the specified number of octets.
| |
Subject |
Creates a criterion to find messages that contain the specified string in the envelope structure's SUBJECT field.
| |
Text |
Creates a criterion to find messages that contain the specified string in the header or body of the message.
| |
To |
Creates a criterion to find messages that contain the specified string in the envelope structure's TO field.
| |
UID |
Creates a criterion to find messages with UIDs within the specified range.
|