1.2.1.17.4 TCPIP_SMTP_IsBusy Function

C

bool TCPIP_SMTP_IsBusy();

Description

Call this function to determine if the SMTP client is busy performing background tasks. This function should be called after any call to TCPIP_SMTP_MailSend(), TCPIP_SMTP_PutIsDone() to determine if the stack has finished performing its internal tasks. It should also be called prior to any call to TCPIP_SMTP_IsPutReady() to verify that the SMTP client has not prematurely disconnected. When this function returns false, the next call should be to TCPIP_SMTP_UsageEnd() to release the module and obtain the status code for the operation.