SMTPIsPutReady Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
SMTPIsPutReady Function
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.)

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.