Jump to main content

##

# TCPIP_SMTP_Flush Function

## C

    void TCPIP_SMTP_Flush();

## Description

This function flushes the SMTP socket and forces all data to be sent.

## Preconditions

TCPIP_SMTP_UsageBegin() returned true on a previous call.

## Returns

None.

## Remarks

This function should only be called externally when the SMTP client is generating an on-the-fly message (i.e., TCPIP_SMTP_MailSend() was called with SMTPClient.Body set to NULL).