[horde] Can't get function "_prefs_hook_from_addr" to work(HEAD)

Garry Thomas gthomas at netstarnetworks.com
Wed Feb 26 15:38:33 PST 2003


I've enabled this in the older versions of IMP.....

'imp_expand_fromaddress'

But its all different now. I notice under the IMP config screens
via the admin interface, that there is a Custom Hooks section, but
this seems only IMP based (naturally), not PREF's based. In the
IMP prefs.php file, there is also a reference to the 'from_addr'
hook. This looked OK to me - is something different needed here?
Is this what you mean by activating it? Making a change in this
prefs.php file?

Also, I've dropped the Horde database, and reconstucted to make
it seem that the user hasn't logged in before.

Thanks
GT


> -----Original Message-----
> From: horde-bounces at lists.horde.org 
> [mailto:horde-bounces at lists.horde.org] On Behalf Of Jan Schneider
> Sent: Thursday, 27 February 2003 10:26 AM
> To: horde at lists.horde.org
> Subject: Re: [horde] Can't get function 
> "_prefs_hook_from_addr" to work(HEAD)
> 
> 
> Quoting Garry Thomas <gthomas at netstarnetworks.com>:
> 
> > Hi,
> > 	I can't get the function _prefs_hook_from_addr()
> > to work. I'm trying to set the user's from address
> > (from ldap btw), but no matter what I try, I can't even
> > get this function to be called, let alone actually work.
> > Even if I put obvious "debug" type code, or even errors in
> > the code, it doesn't seem to even get called.
> > 
> > 	Besides just declaring this function in hooks.php,
> > , and noting the NOTES at the beginning of the hooks.php
> > file, what else has to be done?
> 
> You need to activate the hook in IMP's configuration. And it 
> only works if
> the user doesn't have a from address yet, that is if he never 
> logged in before.
> 
> Jan.
> 
> --
> http://www.horde.org - The Horde Project
> http://www.ammma.de - discover your knowledge
> http://www.tip4all.de - Deine private Tippgemeinschaft
> 
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> 



More information about the horde mailing list