SmtpStatusCode

SmtpStatusCode enumeration

Smtp status codes

Members

Member nameDescription
NOT_DEFINEDNot defined
GENERAL_FAILUREGeneral failure
SYSTEM_STATUSSystem status, or system help reply.
A SMTP status 211 is a message that gives details about the Mail Server status.
In the case of a System Help reply, it is a message to the user requesting help information.
HELP_MESSAGEA help message for a human reader will follow.
SMTP 214 is usually provided as a response to the “HELP” command.
A user will usually receive this as a displays of information about the mail server and it will most likely be in the form of a link to the FAQ page of THAT particular SMTP software that is running on the mail server.
Due to the nature of this error and how the email server responds, it is normally called a reply, as in SMTP Reply 214.
SERVICE_READYSMTP Service ready.
SERVICE_CLOSING_TRANSMISSION_CHANNELService closing transmission channel
AUTHENTICATION_SUCCEEDEDAuthentication Succeeded
OKRequested action taken and completed.
USER_NOT_LOCAL_WILL_FORWARDThe recipient is not local to the server, but the server will accept and forward the message.
CANNOT_VERIFY_USER_WILL_ATTEMPT_DELIVERYThe recipient cannot be VRFYed, but the server accepts the message and attempts delivery.
BASE_64_RESPONSEText part containing the [BASE64] encoded string
START_MAIL_INPUTStart message input and end with. This indicates that the server is ready to accept the message itself
SERVICE_NOT_AVAILABLEThe service is not available and the connection will be closed.
PASSWORD_TRANSITION_NEEDEDA password transition is needed
MAILBOX_BUSYThe requested command failed because the user’s mailbox was unavailable (such as being full). Try again later.
LOCAL_ERROR_IN_PROCESSINGThe command has been aborted due to a server error. (on their side)
INSUFFICIENT_STORAGEThe command has been aborted because the server has insufficient system storage.
CLIENT_NOT_PERMITTEDClient does not have permission.
TLS not available due to temporary reason.
Encryption required for requested authentication mechanism.
COMMAND_UNRECOGNIZEDThe server could not recognize the command due to a syntax error.
SYNTAX_ERRORA syntax error was encountered in command arguments.
COMMAND_NOT_IMPLEMENTEDThis command is not implemented.
COMMAND_NOT_PERMITTEDСommand is not permitted during a mail transaction
UNRECOGNIZED_AUTHENTICATION_TYPEUnrecognized authentication type
AUTHENTICATION_REQUIREDThe SMTP server requires a secure connection or the client was not authenticated.
But sometimes it’s about the recipient’s server blacklisting yours, or an invalid email address.
AUTHENTICATION_MECHANISM_IS_TO_WEAKAuthentication mechanism is to weak
CREDENTIALS_INVALIDAuthentication credentials invalid
ENCRYPTION_REQUIRED_REQUESTED_MECHANISMEncryption required for requested authentication mechanism
MAILBOX_UNAVAILABLEIt usually defines a non-existent email address on the remote side.
USER_NOT_LOCAL_TRY_ALTERNATE_PATH“User not local or invalid address – Relay denied”.
Meaning, if both your address and the recipient’s are not locally hosted by the server, a relay can be interrupted.
EXCEEDED_STORAGE_ALLOCATION“Requested mail actions aborted – Exceeded storage allocation”: simply put, the recipient’s mailbox has exceeded its limits.
MAILBOX_NAME_NOT_ALLOWED“Requested action not taken – Mailbox name invalid”.
That is, there’s an incorrect email address into the recipients line.
TRANSACTION_FAILEDThis means that the transaction has failed.
It’s a permanent error and the server will not try to send the message again.

See Also