Class SmtpProtocolConstants

java.lang.Object
ch.astorm.smtp4j.protocol.SmtpProtocolConstants

public class SmtpProtocolConstants extends Object
Constants for the SMTP protocol.
  • Field Details

    • CRLF

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

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

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

      public static 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:
    • CODE_OK

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

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

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

      public static final int CODE_COMMAND_UNKNOWN
      Error code when a command is unknown.
      See Also:
    • 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:
  • Constructor Details

    • SmtpProtocolConstants

      public SmtpProtocolConstants()