The Expression type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAll
Creates criterion to find all messages.
Public methodStatic memberAnd
Creates conjunction between expressions (AND).
Public methodStatic memberBcc
Creates criterion to find messages that contain the specified string in the envelope structure's BCC field.
Public methodStatic memberBefore
Creates criterion to find messages whose internal date (disregarding time and timezone) is earlier than the specified date.
Public methodStatic memberBody
Creates criterion to find messages that contain the specified string in the body of the message.
Public methodStatic memberCc
Creates criterion to find messages that contain the specified string in the envelope structure's CC field.
Public methodStatic memberFrom
Creates criterion to find messages that contain the specified string in the envelope structure's FROM field.
Public methodStatic memberGmailLabel
Creates criterion to find messages with specified Gmail label (X-GM-LABELS). This method can be used only if server advertises XGMailExtensions1 extension support.
Public methodStatic memberGmailMessageId
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.
Public methodStatic memberGmailRawSearch
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.
Public methodStatic memberGmailThreadId
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.
Public methodStatic memberHasFlag
Creates criterion to find messages that have specified flag set.
Public methodStatic memberHasKeyword
Creates criterion to find messages with the specified keyword flag set.
Public methodStatic memberHeader
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.
Public methodStatic memberLarger
Creates criterion to find messages with an [RFC-2822] size larger than the specified number of octets.
Public methodStatic memberNot
Creates criterion to find messages that do not match the specified search key.
Public methodStatic memberOn
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.
Public methodStatic memberOr
Creates disjunction between two expressions (OR).
Public methodStatic memberSentBefore
Creates criterion to find messages whose [RFC-2822] Date: header (disregarding time and timezone) is earlier than the specified date.
Public methodStatic memberSentOn
Creates criterion to find messages whose [RFC-2822] Date: header (disregarding time and timezone) is within the specified date.
Public methodStatic memberSentSince
Creates criterion to find messages whose [RFC-2822] Date: header (disregarding time and timezone) is within or later than the specified date.
Public methodStatic memberSince
Creates criterion to find messages whose internal date (disregarding time and timezone) is within or later than the specified date.
Public methodStatic memberSmaller
Creates criterion to find messages with an [RFC-2822] size smaller than the specified number of octets.
Public methodStatic memberSubject
Creates criterion to find messages that contain the specified string in the envelope structure's SUBJECT field.
Public methodStatic memberText
Creates criterion to find messages that contain the specified string in the header or body of the message.
Public methodStatic memberTo
Creates criterion to find messages that contain the specified string in the envelope structure's TO field.
Public methodStatic memberUID
Creates criterion to find messages with UID greater or equal to specified value.

See Also