BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE
E-MAIL-ADRESSE WERDEN NICHT GELESEN.
Ticket-URL: https://bugs.horde.org/ticket/14844
------------------------------------------------------------------------------
Ticket | 14844
Erstellt Von | [email protected]
Zusammenfassung | Hook for vacation excludes
Warteschlange | Ingo
Version | 3.2.16
Typ | Enhancement
Status | New
Priorität | 1. Low
Milestone |
Patch | 1
Zuständige |
------------------------------------------------------------------------------
[email protected] (2018-08-06 12:07) hat geschrieben:
This patch enables a hook for manipulating exclude addresses for a
vacation rule.
Rationale: Exclude vacation messages to adresses like root@domain,
apache@domain etc.
A hook function might be:
/**
* Set the exclude addresses used for the vacation module.
*
* @param string $user The username.
* @param array $value The default/current value.
*
* @return array A list of exclude addresses.
*/
public function vacation_excludes($user = null, $value = null)
{
$default = array('root@domain', 'apache@domain');
if (is_array($value)) {
return array_unique(array_merge($value, $default));
}
return $default;
}
[email protected] (2018-08-06 12:07) hat hochgeladen:
Vacation-excludes.patch
https://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=Vacation-excludes.patch&ticket=14844&fn=%2FVacation-excludes.patch
--
bugs mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.