[][src]Module new_tokio_smtp::response::codes

Predefined Codes based on RFC 5321

All command documentation starting with "RFC XXX:" is directly quoted from the rfx XXX, command documentation starting with "RFC XXX;" is not quoted. In case of "RFC 5321:" the quotes come from Section 4.2.3.

Statics

BAD_COMMAND_SEQUENCE

RFC 5321: Bad sequence of commands

BAD_MAILBOX_NAME

RFC 5321: Requested action not taken: mailbox name not allowed (e.g., mailbox syntax incorrect)

CLOSING_CHANNEL

RFC 5321: Service closing transmission channel

COMMAND_UNIMPLEMENTED

RFC 5321: Command not implemented (see Section 4.2.4)

EXCEEDED_STORAGE_ALLOCATION

RFC 5321: Requested mail action aborted: exceeded storage allocation

HELP_RESPONSE

RFC 5321: Help message (Information on how to use the receiver or the meaning of a particular non-standard command; this reply is useful only to the human user)

INSUFFICIENT_SYSTEM

RFC 5321: Requested action not taken: insufficient system storage

LOCAL_ERROR

RFC 5321: Requested action aborted: local error in processing

MAILBOX_TEMP_UNAVAILABLE

RFC 5321: Requested mail action not taken: mailbox unavailable (e.g., mailbox busy or temporarily blocked for policy reasons)

MAILBOX_UNAVAILABLE

RFC 5321: Requested action not taken: mailbox unavailable (e.g., mailbox not found, no access, or command rejected for policy reasons)

OK

RFC 5321: Requested mail action okay, completed

OK_NOT_LOCAL

RFC 5321: User not local; will forward to (See Section 3.4)

OK_UNVERIFIED

RFC 5321: Cannot VRFY user, but will accept message and attempt delivery (See Section 3.5.3)

PARAMETER_NOT_IMPLEMENTED

RFC 5321: Command parameter not implemented

PARAM_NOT_RECOGNIZED

RFC 5321: MAIL FROM/RCPT TO parameters not recognized or not implemented

PARAM_SYNTAX_ERROR

RFC 5321: Syntax error in parameters or arguments

READY

RFC 5321: Service ready

SERVER_DOES_NOT_ACCEPT_MAIL

RFC 7504: Server does not accept mail

SERVICE_UNAVAILABLE

RFC 5321: Service not available, closing transmission channel (This may be a reply to any command if the service knows it must shut down)

START_MAIL_DATA

RFC 5321: Start mail input; end with .

STATUS_RESPONSE

RFC 5321: System status, or system help reply

SYNTAX_ERROR

RFC 5321: Syntax error, command unrecognized (This may include errors such as command line too long)

TARGET_DOES_NOT_ACCEPT_MAIL

RFC 7504; like 521 but returned when a intermediate gateway knows a server will return 521 when connecting, and therefore does decide not to connect with it at all

TRANSACTION_FAILED

RFC 5321: Transaction failed (Or, in the case of a connection-opening response, "No SMTP service here")

UNABLE_TO_ACCOMMODATE_PARAMETERS

RFC 5321: Server unable to accommodate parameters

USER_NOT_LOCAL

RFC 5321: User not local; please try (See Section 3.4)