Hi Jan, Accepting my blander, But sorry i have pasted wrong variable. In fact, i am using same what you have proposed.
let's have a look below: public function preauthenticate($userId, $credentials) { echo $userId; On Sat, Nov 24, 2012 at 5:30 PM, <imp-requ...@lists.horde.org> wrote: > Send imp mailing list submissions to > imp@lists.horde.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.horde.org/mailman/listinfo/imp > or, via email, send a message with subject or body 'help' to > imp-requ...@lists.horde.org > > You can reach the person managing the list at > imp-ow...@lists.horde.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of imp digest..." > > > Today's Topics: > > 1. Re: IMP Preauthenticate hook not working (Jan Schneider) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 23 Nov 2012 16:26:29 +0100 > From: Jan Schneider <j...@horde.org> > To: imp@lists.horde.org > Subject: Re: [imp] IMP Preauthenticate hook not working > Message-ID: <20121123162629.horde.osocluwxkidwesw7addw...@neo.wg.de> > Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes > > > Zitat von Vikas Parashar <vikas.paras...@fosteringlinux.com>: > > > Hello, > > > > I get stuck in using preauthenticate hook in imp 5.0.19. In function, i > am > > not getting $userID parameter value. Could anybody revert me what i am > > doing wrong here.. > > The example uses $userId. If you use the function header of the > example, but $userID inside your code, this won't work. > -- > Jan Schneider > The Horde Project > http://www.horde.org/ > > > > ------------------------------ > > > -- > IMP mailing list > Frequently Asked Questions: http://horde.org/faq/ > To unsubscribe, mail: imp-unsubscr...@lists.horde.org > > End of imp Digest, Vol 3208, Issue 1 > ************************************ > -- Thanks & Regards:- Vikas Parashar Sr. Linux administrator Cum Developer Mobile: +91 958 208 8852 Email: vikas.paras...@fosteringlinglinux.com -- imp mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: imp-unsubscr...@lists.horde.org