Difference between revisions of "TSmtpCli.Auth"

From Overbyte
Jump to navigation Jump to search
Line 1: Line 1:
[[Main_Page | Main page]] -> [[ICS_Components_Reference | ICS component reference]] -> [[TSmtpCli.Auth | Auth]]
+
[[Main_Page | Main page]] -> [[ICS_Components_Reference | ICS component reference]] -> [[TSmtpCli]] ->[[TSmtpCli.Auth | Auth]]
  
 
== Definition ==
 
== Definition ==

Revision as of 18:23, 19 February 2006

Main page -> ICS component reference -> TSmtpCli -> Auth

Definition

procedure Auth;

Inherited from TCustomSmtpCli.Auth

Description

Sends SMTP command AUTH to the mail server to start SMTP authentication according property AuthType. If property AuthType has been set to smtpAuthAutoSelect the component won't silently fall back to smtpAuthNone if no matching authentication method could be detected, instead method Auth would return with error > 0 in event OnRequestDone. Note that any kind of SMTP authentication requires that method Ehlo instead of Helo has been called previously.

Example

....

Best practices

How to