Defined in header file: hzMailer.h
All possible SMTP return codes
Enum definition:
enum SMTPCode
{
| SMTP_NOOP | Returned by GetSMTPCode() in error | ||
| SMTP_CONN_FAIL | The server is unable to connect | ||
| SMTP_CONN_REFUSED | Connection refused or inability to open an SMTP stream | ||
| SMTP_STATUS_NS | Non standard system status message or help reply | ||
| SMTP_STATUS | System status, or system help reply | ||
| SMTP_HELP | Help message (this reply is useful only to the human user) | ||
| SMTP_READY | Service ready | ||
| SMTP_QUIT | Service closing transmission channel | ||
| SMTP_GO_AHEAD | Tells client to go ahead | ||
| SMTP_OK | Requested mail action okay, completed | ||
| SMTP_NOTLOCAL | User not local; will forward to | ||
| SMTP_NOVRFY | Cannot VRFY user, but will accept message and attempt delivery | ||
| SMTP_LOGINFO | Login info, either username or password | ||
| SMTP_SENDDATA | Start mail input; end with <CRLF>.<CRLF> | ||
| SMTP_TIMEOUT | General connection timeout issue | ||
| SMTP_UNAVAILABLE | Service not available, | ||
| SMTP_MBOX_FULL | The recipient’s mailbox has exceeded its storage limit | ||
| SMTP_DISK_FULL | Not enough space on the disk - Expected to be temporary. | ||
| SMTP_MBOX_HALT | Recipient’s incoming mail queue has been stopped | ||
| SMTP_TIMEOUT_PX | The recipient’s server is not responding | ||
| SMTP_CONN_XMIT | The connection was dropped during the transmission. | ||
| SMTP_CONN_HOPS | The maximum hop count was exceeded for the message | ||
| SMTP_TIMEOUT_NS | Non standard timeout: Some SMTP servers will send this if they have decided to time out the client (for being too slow). | ||
| SMTP_ROUTE | Routing error | ||
| SMTP_MBOXBUSY | Requested mail action not taken: mailbox unavailable (E.g., mailbox busy) | ||
| SMTP_PROCERROR | Requested action aborted: local error in processing | ||
| SMTP_NOSPACE | Action not taken: no space left | ||
| SMTP_CLIENT_ERR | Some SMTP servers return this in respose to errors on the part of the connecting client (as they see it). | ||
| SMTP_BADCOMMAND | Syntax error, command unrecognized (This may include errors such as cmd line too long) | ||
| SMTP_BADSYNTAX | Syntax error in parameters or arguments | ||
| SMTP_NOCOMMAND | Command not implemented | ||
| SMTP_BAD_CMD_SEQ | Bad sequence of commands | ||
| SMTP_BAD_PARAM | Command parameter not implemented | ||
| SMTP_BAD_SNDR_ADDR | Bad email address | ||
| SMTP_BAD_RCPT_ADDR | Bad email address | ||
| SMTP_BAD_HOST | Host server for the recipient’s domain name cannot be found in DNS | ||
| SMTP_BAD_ADDR_TYPE | Address type is incorrect | ||
| SMTP_MSG_SIZE | Size of your mail exceeds the server limits | ||
| SMTP_BAD_SERVER | Authentication problem | ||
| SMTP_BAD_SENDER | The recipient address rejected your message | ||
| SMTP_NACK | Non-existent email address | ||
| SMTP_TRYOTHER | User not local or address invalid. | ||
| SMTP_MBOXFULL | Requested mail action aborted: exceeded storage allocation | ||
| SMTP_BADNAME | Mailbox name not allowed (E.g., mailbox syntax incorrect) | ||
| SMTP_FAILED | Transaction failed (Or in the case of a connection-opening response, No SMTP service) | ||
| SMTP_INVALID | Not a 3 digit entity |
} ;