Zitat von Vikas Parashar <[email protected]>:

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;

echoing a variable in a hook is *not* a viable method to determine the passed arguments.

On Sat, Nov 24, 2012 at 5:30 PM, <[email protected]> wrote:

Send imp mailing list submissions to
        [email protected]

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
        [email protected]

You can reach the person managing the list at
        [email protected]

And please read this:

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 <[email protected]>
To: [email protected]
Subject: Re: [imp] IMP Preauthenticate hook not working
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes


Zitat von Vikas Parashar <[email protected]>:

> 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: [email protected]

End of imp Digest, Vol 3208, Issue 1
************************************




--
Thanks & Regards:-
Vikas Parashar
Sr. Linux administrator Cum Developer
Mobile: +91 958 208 8852
Email: [email protected]


--
Jan Schneider
The Horde Project
http://www.horde.org/

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]

Reply via email to