C
WORD SMTPIsPutReady();
Description
Use this function to determine how much data can be written to the SMTP client when generating an on-the-fly message.
Preconditions
SMTPBeginUsage returned TRUE on a previous call, and an on-the-fly message is being generated. This requires that SMTPSendMail was called with SMTPClient.Body set to NULL.
Returns
The number of free bytes the SMTP TX FIFO.
Remarks
This function should only be called externally when the SMTP client is generating an on-the-fly message. (That is, SMTPSendMail was called with SMTPClient.Body set to NULL.)