TCPIP_SMTPC_MESSAGE_RESULT Enumeration

C

typedef enum {
TCPIP_SMTPC_RES_OK = 0,
TCPIP_SMTPC_RES_PENDING = 1,
TCPIP_SMTPC_RES_MESSAGE_ERROR = -1,
TCPIP_SMTPC_RES_MESSAGE_SERVER_ERROR = -2,
TCPIP_SMTPC_RES_MESSAGE_RCPT_ERROR = -3,
TCPIP_SMTPC_RES_MESSAGE_BUFFER_ERROR = -4,
TCPIP_SMTPC_RES_MESSAGE_FILE_ERROR = -5,
TCPIP_SMTPC_RES_MESSAGE_AUTH_REQUIRED = -6,
TCPIP_SMTPC_RES_MESSAGE_AUTH_LEN_ERROR = -7,
TCPIP_SMTPC_RES_MESSAGE_ADDR_LEN_ERROR = -8,
TCPIP_SMTPC_RES_MAIL_BUSY = -9,
TCPIP_SMTPC_RES_DNS_ERROR = -10,
TCPIP_SMTPC_RES_SKT_OPEN_ERROR = -11,
TCPIP_SMTPC_RES_SKT_BIND_ERROR = -12,
TCPIP_SMTPC_RES_SKT_CONNECT_TMO = -13,
TCPIP_SMTPC_RES_SKT_TLS_ERROR = -14,
TCPIP_SMTPC_RES_SERVER_TMO = -15,
TCPIP_SMTPC_RES_CONNECTION_REJECT = -16,
TCPIP_SMTPC_RES_CONNECTION_CLOSE = -17,
TCPIP_SMTPC_RES_HELLO_REJECT = -18,
TCPIP_SMTPC_RES_AUTH_UNKNOWN = -19,
TCPIP_SMTPC_RES_AUTH_LOGIN_REJECT = -20,
TCPIP_SMTPC_RES_AUTH_LOGIN_SERVER_ERROR = -21,
TCPIP_SMTPC_RES_AUTH_REJECT = -22,
TCPIP_SMTPC_RES_TLS_REJECT = -23,
TCPIP_SMTPC_RES_TLS_FAILED = -24,
TCPIP_SMTPC_RES_TLS_TMO = -25,
TCPIP_SMTPC_RES_MAIL_FROM_REJECT = -26,
TCPIP_SMTPC_RES_MAIL_RCPT_REJECT = -27,
TCPIP_SMTPC_RES_MAIL_DATA_REJECT = -28,
TCPIP_SMTPC_RES_MAIL_BODY_REJECT = -29,
TCPIP_SMTPC_RES_INITIALIZE_ERROR = -40,
TCPIP_SMTPC_RES_INTERNAL_ERROR = -41
} TCPIP_SMTPC_MESSAGE_RESULT;

Description

Enumeration: TCPIP_SMTPC_MESSAGE_RESULT.

Enumeration describing the possible result codes returned by the SMTPC client.

Members

MembersDesciption
TCPIP_SMTPC_RES_OK = 0OK, operation successful.
TCPIP_SMTPC_RES_PENDING = 1Operation in progress.
TCPIP_SMTPC_RES_MESSAGE_ERROR = -1Mail message error.
TCPIP_SMTPC_RES_MESSAGE_SERVER_ERROR = -2Message indicated wrong mail server.
TCPIP_SMTPC_RES_MESSAGE_RCPT_ERROR = -3Message mail recipient error: from, to, etc.
TCPIP_SMTPC_RES_MESSAGE_BUFFER_ERROR = -4Attachment buffer error.
TCPIP_SMTPC_RES_MESSAGE_FILE_ERROR = -5Attachment file error.
TCPIP_SMTPC_RES_MESSAGE_AUTH_REQUIRED = -6Server requires authentication but username or password haven't been provided.
TCPIP_SMTPC_RES_MESSAGE_AUTH_LEN_ERROR = -7Provided credentials are too long, buffer overflow.
TCPIP_SMTPC_RES_MESSAGE_ADDR_LEN_ERROR = -8Email address too long, buffer overflow.
TCPIP_SMTPC_RES_MAIL_BUSY = -9All mail connections are busy; try later.
TCPIP_SMTPC_RES_DNS_ERROR = -10Failure to resolve server name.
TCPIP_SMTPC_RES_SKT_OPEN_ERROR = -11Failure to open a communication socket.
TCPIP_SMTPC_RES_SKT_BIND_ERROR = -12Failure to bind a socket to the mail server.
TCPIP_SMTPC_RES_SKT_CONNECT_TMO = -13Connection to mail server timeout.
TCPIP_SMTPC_RES_SKT_TLS_ERROR = -14TLS is required but failed to start TLS on the communication socket.
TCPIP_SMTPC_RES_SERVER_TMO = -15Server timeout.
TCPIP_SMTPC_RES_CONNECTION_REJECT = -16Server rejected the connection.
TCPIP_SMTPC_RES_CONNECTION_CLOSE = -17Server closed the connection.
TCPIP_SMTPC_RES_HELLO_REJECT = -18Server rejected the hello greeting.
TCPIP_SMTPC_RES_AUTH_UNKNOWN = -19Server requires authentication mechanism unsupported by SMTPC Currently LOGIN and PLAIN authentications are supported.
TCPIP_SMTPC_RES_AUTH_LOGIN_REJECT = -20Server rejected the login authentication request.
TCPIP_SMTPC_RES_AUTH_LOGIN_SERVER_ERROR = -21uUnexpected server reply to login authentication request.
TCPIP_SMTPC_RES_AUTH_REJECT = -22Server rejected the supplied authentication.
TCPIP_SMTPC_RES_TLS_REJECT = -23Server rejected the TLS start.
TCPIP_SMTPC_RES_TLS_FAILED = -24TLS session negotiation failed.
TCPIP_SMTPC_RES_TLS_TMO = -25TLS session timeout.
TCPIP_SMTPC_RES_MAIL_FROM_REJECT = -26Server rejected the "from" address.
TCPIP_SMTPC_RES_MAIL_RCPT_REJECT = -27Server rejected the "recipient" address.
TCPIP_SMTPC_RES_MAIL_DATA_REJECT = -28Server rejected the "data" field.
TCPIP_SMTPC_RES_MAIL_BODY_REJECT = -29Server rejected the mail body.
TCPIP_SMTPC_RES_INITIALIZE_ERROR = -40Module is not properly initialized, API call is invalid.
TCPIP_SMTPC_RES_INTERNAL_ERROR = -41ISnternal failure, should not happen.

Remarks

None.