Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Feb : Re: TIDPOP3SERVER

www.cryer.info
Managed Newsgroup Archive

Re: TIDPOP3SERVER

Subject:Re: TIDPOP3SERVER
Posted by:"nifriz" (thesoulf..@virgilio.it)
Date:Wed, 21 Feb 2007 13:22:01

TankU so much!!!

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> ha scritto nel messaggio
news:45db4c7d$1@newsgroups.borland.com...
>
> "nifriz" <thesoulfly@virgilio.it> wrote in message
> news:45d85eaa@newsgroups.borland.com...
>
>> i'm trying to create a pop3server, but i'm just blocked on CHECKUSER
> event...
>
> Which version of Indy are you using?
>
>> on this event i check the id and pwd of user.... ok... but after,
>> how can i send to client the confirmation if LOGIN SUCCESSFULL?
>
> TIdPOP3Server does that automatically for you.  You do not send the
> confirmation yourself.
>
> If you are using Indy 9, you must set the TIdPOP3ServerThread.State
> property to Trans in the OnCheckUser event handler to indicate a
> successful login.  Set the State property to anything else to indicate
> a failure.
>
> If you are using Indy 10, you must raise an exception in the
> OnCheckUser event handler to indicate a failed login.  If an exception
> is not raised, then the login is assumed to be successful.
>
>
> Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive