Enum IMAPClient.SEARCH_CRITERIA

java.lang.Object
java.lang.Enum<IMAPClient.SEARCH_CRITERIA>
org.apache.commons.net.imap.IMAPClient.SEARCH_CRITERIA
All Implemented Interfaces:
Serializable, Comparable<IMAPClient.SEARCH_CRITERIA>
Enclosing class:
IMAPClient

The search criteria defined in RFC 3501.
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    All messages in the mailbox.
    Messages with the \Answered flag set.
    Messages that contain the specified string in the envelope structure's BCC field.
    Messages whose internal date (disregarding time and time zone) is earlier than the specified date.
    Messages that contain the specified string in the body of the message.
    Messages that contain the specified string in the envelope structure's CC field.
    Messages with the \Deleted flag set.
    Messages with the \Draft flag set.
    Messages with the \Flagged flag set.
    Messages that contain the specified string in the envelope structure's FROM field.
    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).
    Messages with the specified keyword flag set.
    Messages with an [RFC-2822] size larger than the specified number of octets.
    Messages that have the \Recent flag set but not the \Seen flag.
    Messages that do not match the specified search key.
    Messages that do not have the \Recent flag set.
    Messages whose internal date (disregarding time and time zone) is within the specified date.
    Messages that match either search key.
    Messages that have the \Recent flag set.
    Messages that have the \Seen flag set.
    Messages whose [RFC-2822] Date: header (disregarding time and time zone) is earlier than the specified date.
    Messages whose [RFC-2822] Date: header (disregarding time and time zone) is within the specified date.
    Messages whose [RFC-2822] Date: header (disregarding time and time zone) is within or later than the specified date.
    Messages whose internal date (disregarding time and time zone) is within or later than the specified date.
    Messages with an [RFC-2822] size smaller than the specified number of octets.
    Messages that contain the specified string in the envelope structure's SUBJECT field.
    Messages that contain the specified string in the header or body of the message.
    Messages that contain the specified string in the envelope structure's TO field.
    Messages with unique identifiers corresponding to the specified unique identifier set.
    Messages that do not have the \Answered flag set.
    Messages that do not have the \Deleted flag set.
    Messages that do not have the \Draft flag set.
    Messages that do not have the \Flagged flag set.
    Messages that do not have the specified keyword flag set.
    Messages that do not have the \Seen flag set.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait