[imp] virtual users and their from addys...

Jan Schneider jan at horde.org
Sun Jul 3 03:07:34 PDT 2005


Zitat von Daniel Frazier <dfrazier at glengroup.com>:

> FWIW, I finally got this working.  hope this helps someone down the
> road...
>
> horde/config/hooks.conf:
>
> if (!function_exists('_prefs_hook_from_addr')) {
>     function _prefs_hook_from_addr($user = null)
>     {
>         if (is_null($user)) {
>             $user = Auth::getAuth();
>         }

return str_replace('%', '@', $user);

>     }
> }

is much easier.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the imp mailing list