Package ch.astorm.smtp4j.protocol
Class SmtpProtocolConstants
- java.lang.Object
-
- ch.astorm.smtp4j.protocol.SmtpProtocolConstants
-
public class SmtpProtocolConstants extends java.lang.ObjectConstants for the SMTP protocol.
-
-
Field Summary
Fields Modifier and Type Field Description static intCODE_BAD_COMMAND_SEQUENCEError code when a bad sequence of command has been received.static intCODE_COMMAND_UNKNOWNError code when a command is unknown.static intCODE_CONNECTCode of the first reply of the SMTP server.static intCODE_INTERMEDIATE_REPLYCode when the command is accepted, but in intermediate state (data).static intCODE_NOT_SUPPORTEDCode when the command is not supported.static intCODE_OKCode when the command is accepted by the server.static java.lang.StringCOLONColon separator.static java.lang.StringCRLFLine/command break.static java.lang.StringDOTData dot-line separator.static java.lang.StringSPCommand-parameter separator.
-
Constructor Summary
Constructors Constructor Description SmtpProtocolConstants()
-
-
-
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
-
-