Re: TPOP3Server.CheckUser

Giganews Newsgroups
Subject: Re: TPOP3Server.CheckUser
Posted by:  Remy Lebeau (TeamB) (
Date: Mon, 11 Jul 2005

"Tim Parker-Nance" <tim_…> wrote in message

> The POP3 Server code seems to have had a revamp of late. The
> CommandPass code seems to have changed completely. Before the
> Context had a state that you set to Trans if the username/password
> was correct. Now the context has a read-only Authenticated and this
> is set to true after the call to the event CheckUser. This cannot be

Yes, it is correct.  If the user fails authentication, your CheckUser event
handler is supposed to throw an exception.  The text of the exception will
be sent to the client explaining why it failed.  If no exception is thrown,
then the authentication is assumed to have succeeded.



In response to

TPOP3Server.CheckUser posted by Tim Parker-Nance on Mon, 11 Jul 2005