SMTPPutROMString Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
SMTPPutROMString Function
C
WORD SMTPPutROMString(
    ROM BYTE* Data
);
Description

Writes a string from ROM 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.) 

This function is aliased to SMTPPutString on non-PIC18 platforms.

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