Class SmtpProtocolConstants


  • public class SmtpProtocolConstants
    extends java.lang.Object
    Constants for the SMTP protocol.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CODE_BAD_COMMAND_SEQUENCE
      Error code when a bad sequence of command has been received.
      static int CODE_COMMAND_UNKNOWN
      Error code when a command is unknown.
      static int CODE_CONNECT
      Code of the first reply of the SMTP server.
      static int CODE_INTERMEDIATE_REPLY
      Code when the command is accepted, but in intermediate state (data).
      static int CODE_NOT_SUPPORTED
      Code when the command is not supported.
      static int CODE_OK
      Code when the command is accepted by the server.
      static java.lang.String COLON
      Colon separator.
      static java.lang.String CRLF
      Line/command break.
      static java.lang.String DOT
      Data dot-line separator.
      static java.lang.String SP
      Command-parameter separator.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CRLF

        public static java.lang.String CRLF
        Line/command break. See the specification.
      • SP

        public static java.lang.String SP
        Command-parameter separator. See the specification.
      • COLON

        public static java.lang.String COLON
        Colon separator. See the specification.
      • DOT

        public static java.lang.String DOT
        Data dot-line separator. See the specification.
      • CODE_CONNECT

        public static final int CODE_CONNECT
        Code of the first reply of the SMTP server.
        See Also:
        Constant Field Values
      • CODE_OK

        public static final int CODE_OK
        Code when the command is accepted by the server.
        See Also:
        Constant Field Values
      • CODE_NOT_SUPPORTED

        public static final int CODE_NOT_SUPPORTED
        Code when the command is not supported.
        See Also:
        Constant Field Values
      • CODE_INTERMEDIATE_REPLY

        public static final int CODE_INTERMEDIATE_REPLY
        Code when the command is accepted, but in intermediate state (data).
        See Also:
        Constant Field Values
      • CODE_COMMAND_UNKNOWN

        public static final int CODE_COMMAND_UNKNOWN
        Error code when a command is unknown.
        See Also:
        Constant Field Values
      • CODE_BAD_COMMAND_SEQUENCE

        public static final int CODE_BAD_COMMAND_SEQUENCE
        Error code when a bad sequence of command has been received.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SmtpProtocolConstants

        public SmtpProtocolConstants()