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
--
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [EMAIL PROTECTED]

Reply via email to