SMTPPutROMArray Function

Microchip TCP/IP Stack

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

Writes a series of bytes from ROM to the SMTP client.

Preconditions

SMTPBeginUsage returned TRUE on a previous call.

Parameters
Parameters 
Description 
Data 
The data to be written 
Len 
How many bytes should be written 
Returns

The number of bytes written. If less than Len, 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 SMTPPutArray on non-PIC18 platforms.

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