#include <net_config.h>
BOOL smtp_accept_auth (
U8* srv_ip ); /* IP address of SMTP server. */
Description
The smtp_accept_auth
function informs the TCPnet if the SMTP client should log on to SMTP
Server when sending e-mails. The TCPnet library calls this function
and asks the user what to do if the SMTP Server has advertised the
user authentication. It is now on the user to accept the
authentication or not.
The argument srv_ip points to a buffer containing the four
octets that make up the ip address of the remote SMTP server.
The smtp_accept_auth
function is part of RL-TCPnet. The prototype is defined in
net_config.h. You can customize the function in smtp_uif.c.
Return Value
The smtp_accept_auth
function returns __TRUE if the authentication is accepted and
__FALSE, when the user does not want to log on to SMTP server to send
e-mails.
If this function returns __FALSE, the smtp_cbfunc with the
code 0 and 1 is not called.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.