TCPIP_SMTPC_SERVER_REPLY_CALLBACK Type

C

typedef void (* TCPIP_SMTPC_SERVER_REPLY_CALLBACK)(TCPIP_SMTPC_MESSAGE_HANDLE messageHandle, TCPIP_SMTPC_MESSAGE_STATUS currStat, const char* serverReply);

Description

Type: TCPIP_SMTPC_SERVER_REPLY_CALLBACK

Data type describing a function that will be called by the SMTPC module upon receiving a message from the mail server. SMTPC will parse and process the server messages anyway but it can optionally pass the server replies to the user.

Parameters

ParametersDescription
messageHandleHandle identifying the message. This handle was obtained with a call to TCPIP_SMTPC_MailMessage().
currStatThe current status for the mail message.
serverReplyThe reply sent by the server.

Remarks

None.