Difference between revisions of "TSmtpCli.AuthType"

From Overbyte
Jump to navigation Jump to search
Line 14: Line 14:
 
  smtpAuthCramMD5, smtpAuthCramSha1,  smtpAuthAutoSelect
 
  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.  
+
Most of them are self-explaining, except '''smtpAuthAutoSelect''' which causes the component to perform a smart detection of most secure authentication method possible.
 +
 
 +
see also RFC [http://rfc.net/rfc2554.html 2554], RFC [http://rfc.net/rfc1734.html 1734]
  
 
== Example ==
 
== Example ==

Revision as of 18:42, 19 February 2006

Main page -> ICS component reference -> TSmtpCli -> 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.

see also RFC 2554, RFC 1734

Example

SmtpCli1.AuthType := smtpAuthAutoSelect;

Best practices

Recommended setting is smtpAuthAutoSelect.

How to