function Authenticate: boolean;



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




SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support