[imp] imp Digest, Vol 3208, Issue 1

Jan Schneider jan at horde.org
Sat Nov 24 12:41:10 UTC 2012


Zitat von Vikas Parashar <vikas.parashar at fosteringlinux.com>:

> 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, <imp-request at lists.horde.org> wrote:
>
>> Send imp mailing list submissions to
>>         imp at 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-request at lists.horde.org
>>
>> You can reach the person managing the list at
>>         imp-owner at lists.horde.org

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 <jan at horde.org>
>> To: imp at lists.horde.org
>> Subject: Re: [imp] IMP Preauthenticate hook not working
>> Message-ID: <20121123162629.Horde.OSOCLUwxKIdWESW7adDwvg1 at neo.wg.de>
>> Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes
>>
>>
>> Zitat von Vikas Parashar <vikas.parashar at 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-unsubscribe at 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.parashar at fosteringlinglinux.com


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



More information about the imp mailing list