TSmtpCli.AuthType

From Overbyte
Revision as of 17:41, 19 February 2006 by Arno (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Definition

property AuthType: TSmtpAuthType;

Inheritance 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