Difference between revisions of "TSmtpCli.AuthType"

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

Revision as of 18:21, 19 February 2006

Main page -> ICS component reference -> AuthType

Definition

property AuthType: TSmtpAuthType;

Inherited from TCustomSmtpCli.AuthType

Description

Property AuthType specifies the authentication methode to be used with method Auth. Possible values are:

smtpAuthNone,    smtpAuthPlain,     smtpAuthLogin,
smtpAuthCramMD5, smtpAuthCramSha1,  smtpAuthAutoSelect

Most of them are self-explaining, except smtpAuthAutoSelect which causes the component to perform a smart detection of most secure authentication method possible.

Example

SmtpCli1.AuthType := smtpAuthAutoSelect;

Best practices

Recommended setting is smtpAuthAutoSelect.

How to