#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.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.