C
static ROM BYTE * FindROMEmailAddress( ROM 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 ROM string in which to search for an e-mail address |
wLen |
the length of str |
Returns
A pointer to the e-mail address