com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class ImapStatusCode



  • public final class ImapStatusCode
    extends Enum

    Represents the status responses.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class Enum

        Enum.AbstractEnum, Enum.EnumMap, Enum.FlaggedEnum, Enum.ObjectEnum, Enum.SimpleEnum
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int Alert
      The human-readable text contains a special alert that MUST be presented to the user in a fashion that calls the user's attention to the message.
      static int Bad
      The BAD response indicates an error message from the server.
      static int BadCharset
      Optionally followed by a parenthesized list of charsets.
      static int Bye
      The BYE response is always untagged, and indicates that the server is about to close the connection.
      static int Capability
      Followed by a list of capabilities.
      static int No
      The NO response indicates an operational error message from the server.
      static int NotDefined
      Not defined
      static int Ok
      The OK response indicates an information message from the server.
      static int Parse
      The human-readable text represents an error in parsing the [RFC-2822] header or [MIME-IMB] headers of a message in the mailbox.
      static int PermanentFlags
      Followed by a parenthesized list of flags, indicates which of the known flags the client can change permanently.
      static int Preauth
      The PREAUTH response is always untagged, and is one of three possible greetings at connection startup.
      static int ReadOnly
      The mailbox is selected read-only.
      static int ReadWrite
      The mailbox is selected read-write.
      static int TryCreate
      An APPEND or COPY attempt is failing because the target mailbox does not exist.
      static int UIDNext
      Indicates the next unique identifier value.
      static int UIDValidity
      Indicates the unique identifier validity value.
      static int Unseen
      Indicates the number of the first message without the \Seen flag set.
      static int Unsolicited
      Untagged status responses.
      • Fields inherited from class Enum

        EnumSeparatorCharArray
    • Method Summary

      • Methods inherited from class Enum

        Clone, CloneTo, format, format, get_Caption, get_Value, getName, getName, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject, toString
    • Field Detail

      • Ok

        public static final int Ok

        The OK response indicates an information message from the server. When tagged, it indicates successful completion of the associated command. The human-readable text MAY be presented to the user as an information message. The untagged form indicates an information-only message; the nature of the information MAY be indicated by a response code.

        See Also:
        Constant Field Values
      • No

        public static final int No

        The NO response indicates an operational error message from the server. When tagged, it indicates unsuccessful completion of the associated command. The untagged form indicates a warning; the command can still complete successfully. The human-readable text describes the condition.

        See Also:
        Constant Field Values
      • Bad

        public static final int Bad

        The BAD response indicates an error message from the server. When tagged, it reports a protocol-level error in the client's command; the tag indicates the command that caused the error. The untagged form indicates a protocol-level error for which the associated command can not be determined; it can also indicate an internal server failure. The human-readable text describes the condition.

        See Also:
        Constant Field Values
      • Preauth

        public static final int Preauth

        The PREAUTH response is always untagged, and is one of three possible greetings at connection startup. It indicates that the connection has already been authenticated by external means and thus no LOGIN command is needed.

        See Also:
        Constant Field Values
      • Bye

        public static final int Bye

        The BYE response is always untagged, and indicates that the server is about to close the connection. The human-readable text MAY be displayed to the user in a status report by the client. The difference between a BYE that occurs as part of a normal LOGOUT sequence (the first case) and a BYE that occurs because of a failure (the other three cases) is that the connection closes immediately in the failure case.

        See Also:
        Constant Field Values
      • Alert

        public static final int Alert

        The human-readable text contains a special alert that MUST be presented to the user in a fashion that calls the user's attention to the message.

        See Also:
        Constant Field Values
      • BadCharset

        public static final int BadCharset

        Optionally followed by a parenthesized list of charsets. A SEARCH failed because the given charset is not supported by this implementation.

        See Also:
        Constant Field Values
      • Capability

        public static final int Capability

        Followed by a list of capabilities.

        See Also:
        Constant Field Values
      • Parse

        public static final int Parse

        The human-readable text represents an error in parsing the [RFC-2822] header or [MIME-IMB] headers of a message in the mailbox.

        See Also:
        Constant Field Values
      • PermanentFlags

        public static final int PermanentFlags

        Followed by a parenthesized list of flags, indicates which of the known flags the client can change permanently.

        See Also:
        Constant Field Values
      • ReadOnly

        public static final int ReadOnly

        The mailbox is selected read-only.

        See Also:
        Constant Field Values
      • ReadWrite

        public static final int ReadWrite

        The mailbox is selected read-write.

        See Also:
        Constant Field Values
      • TryCreate

        public static final int TryCreate

        An APPEND or COPY attempt is failing because the target mailbox does not exist.

        See Also:
        Constant Field Values
      • UIDNext

        public static final int UIDNext

        Indicates the next unique identifier value.

        See Also:
        Constant Field Values
      • UIDValidity

        public static final int UIDValidity

        Indicates the unique identifier validity value.

        See Also:
        Constant Field Values
      • Unseen

        public static final int Unseen

        Indicates the number of the first message without the \Seen flag set.

        See Also:
        Constant Field Values
      • Unsolicited

        public static final int Unsolicited

        Untagged status responses.

        See Also:
        Constant Field Values