FindEmailAddress Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
FindEmailAddress Function
C
static BYTE * FindEmailAddress(
    BYTE * str, 
    WORD * wLen
);
Description

This function locates an e-mail address in a string. It is used internally by the SMTP client to parse out the actual address from the From and To strings so that the MAIL FROM and RCPT TO commands can be sent to the SMTP server.

Preconditions

SMTPBeginUsage returned TRUE on a previous call.

Parameters
Parameters 
Description 
str 
The string in which to search for an e-mail address 
wLen 
the length of str 
Returns

A pointer to the e-mail address

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