TCPIP_SMTP_MailSend Function

C

void TCPIP_SMTP_MailSend(
    TCPIP_SMTP_CLIENT_MESSAGE* smtpClientMessage
);

Description

This function starts the state machine that performs the actual transmission of the message. Call this function after all the fields in SMTPClient have been set.

Preconditions

TCPIP_SMTP_UsageBegin returned true on a previous call.

Parameters

ParametersDescription
smtpClientMessagePointer to a TCPIP_SMTP_CLIENT_MESSAGE structure that configures the message to send.

Returns

None.

Remarks

The fields pointed by the smtpClientMessage have to be non-volatile until the SMTP send mail process is completed.