Jump to main content

##

# TCPIP_SMTPC_MESSAGE_STATUS Enumeration

## C

    typedef enum {
    TCPIP_SMTPC_MESSAGE_STAT_NONE,
    TCPIP_SMTPC_MESSAGE_STAT_DNS,
    TCPIP_SMTPC_MESSAGE_STAT_CONNECT,
    TCPIP_SMTPC_MESSAGE_STAT_HELLO,
    TCPIP_SMTPC_MESSAGE_STAT_TLS,
    TCPIP_SMTPC_MESSAGE_STAT_AUTH,
    TCPIP_SMTPC_MESSAGE_STAT_MAIL_ENVELOPE,
    TCPIP_SMTPC_MESSAGE_STAT_MAIL_BODY,
    TCPIP_SMTPC_MESSAGE_STAT_MAIL_BUFFERS,
    TCPIP_SMTPC_MESSAGE_STAT_MAIL_FILES,
    TCPIP_SMTPC_MESSAGE_STAT_MAIL_ACKNOWLEDGE,
    TCPIP_SMTPC_MESSAGE_STAT_MAIL_REPORT,
    TCPIP_SMTPC_MESSAGE_STAT_CLOSING,
    TCPIP_SMTPC_MESSAGE_STAT_WAIT_RETRY
    } TCPIP_SMTPC_MESSAGE_STATUS;

## Description

Enumeration: TCPIP_SMTPC_MESSAGE_STATUS.

Enumeration describing the possible states of a mail message during a mail transmission. The message progresses through various states until complete mail transfer or error.

## Parameters

Parameters | Description
--- | ---
TCPIP_SMTPC_MESSAGE_STAT_NONE | There is no transaction started.
TCPIP_SMTPC_MESSAGE_STAT_DNS | Doing the DNS resolution.
TCPIP_SMTPC_MESSAGE_STAT_CONNECT | Connecting to the server.
TCPIP_SMTPC_MESSAGE_STAT_HELLO | Saying hello to the server.
TCPIP_SMTPC_MESSAGE_STAT_TLS | Starting the TLS communication with the servers.
TCPIP_SMTPC_MESSAGE_STAT_AUTH | Authenticating to the server.
TCPIP_SMTPC_MESSAGE_STAT_MAIL_ENVELOPE | Sending mail envelope.
TCPIP_SMTPC_MESSAGE_STAT_MAIL_BODY | Sending mail body.
TCPIP_SMTPC_MESSAGE_STAT_MAIL_BUFFERS | Sending mail buffers.
TCPIP_SMTPC_MESSAGE_STAT_MAIL_FILES | sending mail files.
TCPIP_SMTPC_MESSAGE_STAT_MAIL_ACKNOWLEDGE | Waiting for the mail acknowledge.
TCPIP_SMTPC_MESSAGE_STAT_MAIL_REPORT | Reporting the mail outcome.
TCPIP_SMTPC_MESSAGE_STAT_CLOSING | Closing the mail transaction.
TCPIP_SMTPC_MESSAGE_STAT_WAIT_RETRY | Waiting for a retry.

## Remarks

TCPIP_SMTPC_MESSAGE_STAT_HELLO will occur twice if TLS is supported by the server. Once the connection is secured, another HELLO message will be sent to the server.