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. |