function Authenticate: boolean;
Description
Authenticates a mail account with the SMTP server. Returns True is authentication was successful, otherwise False.
Use the AuthenticationType property to specify the authentication type to use when accessing an SMTP/SMTPS server.
To use SASL authentication you set AuthenticationType to satSASLMechanism.
Authenticate iterates over a list of SASLMechanisms and checks if a given mechanism is ready to start the authentication process. If a mechanism is ready, a login attempt is made using this mechanism.
You call Authenticate only once for an SMTP session.
See Also