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

Jan Schneider jan at horde.org
Wed Feb 26 15:26:20 PST 2003


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


More information about the horde mailing list