Click or drag to resize

Expression Methods

The Expression type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAll
Creates a criterion to find all messages.
Public methodStatic memberAnd
Creates conjunction between expressions (AND).
Public methodStatic memberBcc
Creates a criterion to find messages that contain the specified string in the envelope structure's BCC field.
Public methodStatic memberBefore
Creates a criterion to find messages whose internal date (disregarding time and timezone), assigned by an IMAP server, is earlier than the specified date.
Public methodStatic memberBody
Creates a criterion to find messages that contain the specified string in the body of the message.
Public methodStatic memberCc
Creates a criterion to find messages that contain the specified string in the envelope structure's CC field.
Public methodStatic memberFrom
Creates a criterion to find messages that contain the specified string in the envelope structure's FROM field.
Public methodStatic memberGmailLabel
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.
Public methodStatic memberGmailMessageId(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.
Public methodStatic memberGmailMessageId(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.
Public methodStatic memberGmailRawSearch
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.
Public methodStatic memberGmailThreadId(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.
Public methodStatic memberGmailThreadId(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.
Public methodStatic memberHasFlag
Creates a criterion to find messages that have specified flag set.
Public methodStatic memberHasHeader
Creates a criterion to find messages that have specified header.
Public methodStatic memberHasKeyword
Creates a criterion to find messages with the specified keyword flag set.
Public methodStatic memberHeader
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.
Public methodStatic memberLarger
Creates a criterion to find messages with an [RFC-2822] size larger than the specified number of octets.
Public methodStatic memberMessageId
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.
Public methodStatic memberModSeq
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.
Public methodStatic memberNot
Creates a criterion to find messages that do not match the specified search key.
Public methodStatic memberOn
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.
Public methodStatic memberOr
Creates disjunction between two expressions (OR).
Public methodStatic memberSentBefore
Creates a criterion to find messages whose [RFC-2822] Date: header (disregarding time and timezone) is earlier than the specified date.
Public methodStatic memberSentOn
Creates a criterion to find messages whose [RFC-2822] Date: header (disregarding time and timezone) is within the specified date.
Public methodStatic memberSentSince
Creates a 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 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.
Public methodStatic memberSmaller
Creates a criterion to find messages with an [RFC-2822] size smaller than the specified number of octets.
Public methodStatic memberSubject
Creates a criterion to find messages that contain the specified string in the envelope structure's SUBJECT field.
Public methodStatic memberText
Creates a criterion to find messages that contain the specified string in the header or body of the message.
Public methodStatic memberTo
Creates a criterion to find messages that contain the specified string in the envelope structure's TO field.
Public methodStatic memberCode exampleUID
Creates a criterion to find messages with UIDs within the specified range.
Top
See Also