C
WORD SMTPPutString( BYTE* Data );
Description
Writes a string to the SMTP client.
Preconditions
SMTPBeginUsage returned TRUE on a previous call.
Parameters
Parameters |
Description |
Data |
The data to be written |
Returns
The number of bytes written. If less than the length of Data, then the TX FIFO became full before all bytes could be written.
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.)