Authentication type required for the POP3 client.
property AuthType: TIdPOP3AuthenticationType;
AuthType is a TIdPOP3AuthenticationType property that specifies the authentication type to use when authenticating the POP3 client to the server identified in Host and Port.
AuthType can contain one of the following values and associated meanings:
Value |
Meaning |
atUserPass |
Authenticate using a username and password for the client. |
atAPOP |
Alternate authentication using a 128-bit MD5 hash value. |
atSASL |
Authenticate using SASL mechanisms. |
AuthType is used in Login to determine the authentication protocol used to perform the operation.
When AuthType is atAPOP, the POP3 APOP command is used for authentication. The value in GreetingBanner is used to construct the 128-bit MD5 hash value (in hexadecimal form) for the authentication request.
When AuthType is atUserPass, the POP3 USER and PASS commands are used with the Username and Password properties to perform authentication for the POP3 client connection.
When AuthType is atSASL, the SASLMechanisms.LoginSASL method is used to perform authentication for the Capabilities supported on the connection to the server.
The default value for AuthType is DEF_ATYPE, as assigned in the Create constructor.
Set values for the Host, Port, and AuthType properties prior to calling Connect or Login.
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved. Website http://www.indyproject.org. Post feedback to the Indy Documentation newsgroup. |