Re: TidPOP3 property declaration and Implementation

Giganews Newsgroups
Subject: Re: TidPOP3 property declaration and Implementation
Posted by:  Remy Lebeau \(TeamB\) (no.spam@no.spam.com)
Date: Mon, 17 Mar 2008

"Megatron" <abehin…@msn.com> wrote in message
news:DFA58551884CE340abehin…@msn.com...

> I don't know how to declare and implement the properties of TidPOP3 like
> AuthType, AutoLogin, UseTLS, APOP...

Did you read the documentation?

> Mygoal is to make a client that can do SSL as well as other
> authentications.

You did not say what version of Indy you are using.  TIdPOP3 in Indy 9 and
earlier does not support what you are asking for.  It does in Indy 10,
though.

Assign an SSL-enabled IOHandler to the TIdPOP3.  Then set the UseTLS
property to either utUseImplicitTLS or utUseExplicitTLS, depending on
whether you are connecting to a dedicated SSL port or not.  The later case
allows TIdPOP3 to connect to an unencrypted port initially and then issue a
STLS command to start an encrypted session afterwards, assuming the server
supports that in the first place.

As for authentication, fill in the SASLMechanisms collection as needed for
whatever auth schemes you want to support, and then set the AuthType
property to atSASL.

> I already check the indy helpfile but still not clear.

Have you read the online documentation?

Gambit

Replies

In response to

TidPOP3 property declaration and Implementation posted by Megatron on Mon, 17 Mar 2008