The Expression type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| All |
Creates criterion to find all messages.
| |
| And |
Creates conjunction between expressions (AND).
| |
| Bcc |
Creates criterion to find messages that contain the specified string in the envelope structure's BCC field.
| |
| Before |
Creates criterion to find messages whose internal date (disregarding time and timezone) is earlier than the specified date.
| |
| Body |
Creates criterion to find messages that contain the specified string in the body of the message.
| |
| Cc |
Creates criterion to find messages that contain the specified string in the envelope structure's CC field.
| |
| From |
Creates criterion to find messages that contain the specified string in the envelope structure's FROM field.
| |
| GmailLabel |
Creates criterion to find messages with specified Gmail label (X-GM-LABELS).
This method can be used only if server advertises XGMailExtensions1 extension support.
| |
| GmailMessageId |
Creates 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 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 |
Creates 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 criterion to find messages that have specified flag set.
| |
| HasKeyword |
Creates criterion to find messages with the specified keyword flag set.
| |
| Header |
Creates 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 criterion to find messages with an [RFC-2822] size larger than the specified number of octets.
| |
| Not |
Creates criterion to find messages that do not match the specified search key.
| |
| On |
Creates 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 criterion to find messages whose [RFC-2822] Date: header (disregarding time and timezone) is earlier than the specified date.
| |
| SentOn |
Creates criterion to find messages whose [RFC-2822] Date: header (disregarding time and timezone) is within the specified date.
| |
| SentSince |
Creates criterion to find messages whose [RFC-2822] Date: header (disregarding time and timezone) is within or later than the specified date.
| |
| Since |
Creates criterion to find messages whose internal date (disregarding time and timezone) is within or later than the specified date.
| |
| Smaller |
Creates criterion to find messages with an [RFC-2822] size smaller than the specified number of octets.
| |
| Subject |
Creates criterion to find messages that contain the specified string in the envelope structure's SUBJECT field.
| |
| Text |
Creates criterion to find messages that contain the specified string in the header or body of the message.
| |
| To |
Creates criterion to find messages that contain the specified string in the envelope structure's TO field.
| |
| UID |
Creates criterion to find messages with UID greater or equal to specified value.
|