On Fri, Sep 19, 2008 at 11:56, Andrew Morgan <[EMAIL PROTECTED]> wrote:
> On Fri, 19 Sep 2008, Robin Polak wrote:
>
> If am having trouble locating a setting to successfully lock the ability
>> to
>> change the From field in outgoing mail. I would really appreciate any
>> guidance those viewing this list may offer.
>>
>
> In horde/config/prefs.php:
>
> // user preferred email address for From: line
> // If you lock this preference, you must specify a value or a hook for it
> in
> // horde/config/hooks.php.
> $_prefs['from_addr'] = array(
> 'value' => '',
> 'locked' => true,
> 'hook' => true,
> 'shared' => true,
> 'type' => 'text',
> 'desc' => _("Your From: address:")
> );
>
>
> Then use a "_prefs_hook_from_addr" in horde/config/hooks.php to set the
> From address. Users will still be able to set their Fullname, but not the
> email address.
>
> Andy
>
Thank You, I was able to successfully disable the From field by setting the
from_addr pref as you quoted above and configuring a hook for it in the
hooks.php config file to resolve from LDAP.
--
Robin Polak
E-Mail: [EMAIL PROTECTED]
V. 917-494-2080
--
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [EMAIL PROTECTED]