Add email addresses of "all my aliases" in mail vacation, not account imap_username

This commit is contained in:
Hadi Nategh 2014-08-06 16:19:50 +00:00
parent 15214b22c0
commit e6983f0eba

View File

@ -443,7 +443,7 @@ class mail_sieve
if (is_null($accountID)) $accountID = $GLOBALS['egw_info']['user']['account_id'];
$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)
{
if ($arrVal['type'] !='default')