C
BOOL SMTPIsBusy();
Description
Call this function to determine if the SMTP client is busy performing background tasks. This function should be called after any call to SMTPSendMail, SMTPPutDone to determine if the stack has finished performing its internal tasks. It should also be called prior to any call to SMTPIsPutReady to verify that the SMTP client has not prematurely disconnected. When this function returns FALSE, the next call should be to SMTPEndUsage to release the module and obtain the status code for the operation.
Preconditions
SMTPBeginUsage returned TRUE on a previous call.
Return Values
Return Values |
Description |
TRUE |
The SMTP Client is busy with internal tasks or sending an on-the-fly message. |
FALSE |
The SMTP Client is terminated and is ready to be released. |