Defined in header file: hzMailer.h

All possible SMTP return codes

Enum definition:

enum    SMTPCode
{

SMTP_NOOPReturned by GetSMTPCode() in error
SMTP_CONN_FAILThe server is unable to connect
SMTP_CONN_REFUSEDConnection refused or inability to open an SMTP stream
SMTP_STATUS_NSNon standard system status message or help reply
SMTP_STATUSSystem status, or system help reply
SMTP_HELPHelp message (this reply is useful only to the human user)
SMTP_READYService ready
SMTP_QUITService closing transmission channel
SMTP_GO_AHEADTells client to go ahead
SMTP_OKRequested mail action okay, completed
SMTP_NOTLOCALUser not local; will forward to
SMTP_NOVRFYCannot VRFY user, but will accept message and attempt delivery
SMTP_LOGINFOLogin info, either username or password
SMTP_SENDDATAStart mail input; end with <CRLF>.<CRLF>
SMTP_TIMEOUTGeneral connection timeout issue
SMTP_UNAVAILABLEService not available,
SMTP_MBOX_FULLThe recipient’s mailbox has exceeded its storage limit
SMTP_DISK_FULLNot enough space on the disk - Expected to be temporary.
SMTP_MBOX_HALTRecipient’s incoming mail queue has been stopped
SMTP_TIMEOUT_PXThe recipient’s server is not responding
SMTP_CONN_XMITThe connection was dropped during the transmission.
SMTP_CONN_HOPSThe maximum hop count was exceeded for the message
SMTP_TIMEOUT_NSNon standard timeout: Some SMTP servers will send this if they have decided to time out the client (for being too slow).
SMTP_ROUTERouting error
SMTP_MBOXBUSYRequested mail action not taken: mailbox unavailable (E.g., mailbox busy)
SMTP_PROCERRORRequested action aborted: local error in processing
SMTP_NOSPACEAction not taken: no space left
SMTP_CLIENT_ERRSome SMTP servers return this in respose to errors on the part of the connecting client (as they see it).
SMTP_BADCOMMANDSyntax error, command unrecognized (This may include errors such as cmd line too long)
SMTP_BADSYNTAXSyntax error in parameters or arguments
SMTP_NOCOMMANDCommand not implemented
SMTP_BAD_CMD_SEQBad sequence of commands
SMTP_BAD_PARAMCommand parameter not implemented
SMTP_BAD_SNDR_ADDRBad email address
SMTP_BAD_RCPT_ADDRBad email address
SMTP_BAD_HOSTHost server for the recipient’s domain name cannot be found in DNS
SMTP_BAD_ADDR_TYPEAddress type is incorrect
SMTP_MSG_SIZESize of your mail exceeds the server limits
SMTP_BAD_SERVERAuthentication problem
SMTP_BAD_SENDERThe recipient address rejected your message
SMTP_NACKNon-existent email address
SMTP_TRYOTHERUser not local or address invalid.
SMTP_MBOXFULLRequested mail action aborted: exceeded storage allocation
SMTP_BADNAMEMailbox name not allowed (E.g., mailbox syntax incorrect)
SMTP_FAILEDTransaction failed (Or in the case of a connection-opening response, No SMTP service)
SMTP_INVALIDNot a 3 digit entity

} ;