mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Add email addresses of "all my aliases" in mail vacation, not account imap_username
This commit is contained in:
parent
eb350e2745
commit
9694a4c9f8
@ -443,7 +443,7 @@ class mail_sieve
|
|||||||
if (is_null($accountID)) $accountID = $GLOBALS['egw_info']['user']['account_id'];
|
if (is_null($accountID)) $accountID = $GLOBALS['egw_info']['user']['account_id'];
|
||||||
|
|
||||||
$accAllIdentities = $this->account->smtpServer()->getAccountEmailAddress(accounts::id2name($accountID));
|
$accAllIdentities = $this->account->smtpServer()->getAccountEmailAddress(accounts::id2name($accountID));
|
||||||
$allAliases = array($this->account->acc_imap_username);
|
$allAliases = array($this->account->ident_email);
|
||||||
foreach ($accAllIdentities as &$arrVal)
|
foreach ($accAllIdentities as &$arrVal)
|
||||||
{
|
{
|
||||||
if ($arrVal['type'] !='default')
|
if ($arrVal['type'] !='default')
|
||||||
|
Loading…
Reference in New Issue
Block a user