Package ch.astorm.smtp4j.protocol
Class SmtpProtocolConstants
java.lang.Object
ch.astorm.smtp4j.protocol.SmtpProtocolConstants
Constants for the SMTP protocol.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intError code when a bad sequence of command has been received.static final intError code when a command is unknown.static final intCode of the first reply of the SMTP server.static final intCode when the command is accepted, but in intermediate state (data).static final intCode when the command is not supported.static final intCode when the command is accepted by the server.static StringColon separator.static StringLine/command break.static StringData dot-line separator.static StringCommand-parameter separator. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CRLF
Line/command break. See the specification. -
SP
Command-parameter separator. See the specification. -
COLON
Colon separator. See the specification. -
DOT
Data dot-line separator. See the specification. -
CODE_CONNECT
public static final int CODE_CONNECTCode of the first reply of the SMTP server.- See Also:
-
CODE_OK
public static final int CODE_OKCode when the command is accepted by the server.- See Also:
-
CODE_NOT_SUPPORTED
public static final int CODE_NOT_SUPPORTEDCode when the command is not supported.- See Also:
-
CODE_INTERMEDIATE_REPLY
public static final int CODE_INTERMEDIATE_REPLYCode when the command is accepted, but in intermediate state (data).- See Also:
-
CODE_COMMAND_UNKNOWN
public static final int CODE_COMMAND_UNKNOWNError code when a command is unknown.- See Also:
-
CODE_BAD_COMMAND_SEQUENCE
public static final int CODE_BAD_COMMAND_SEQUENCEError code when a bad sequence of command has been received.- See Also:
-
-
Constructor Details
-
SmtpProtocolConstants
public SmtpProtocolConstants()
-