Method SMTPClient():setAuthentication() Professional
Sets the method for authenticating the user.
:setAuthentication( <cAuthentication> ) --> lSuccess
The method returns .T. (true) when the authentication method can be set or .F. (false) in case of failure.
By calling the method :setAuthentication(), the method for passing the credentials to the server for user authentication can be selected. The SMTPClient class currently supports the PLAIN and LOGIN methods. See the method :connect() for details on how to specify the credentials of the SMTP user.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.