mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
* Mail: skip identities from SMTP only accounts in compose
This commit is contained in:
parent
d3dbe6e31e
commit
cd4c3ffbbc
@ -1199,6 +1199,9 @@ class mail_compose
|
||||
$sel_options['mailaccount'] = $identities = array();
|
||||
foreach(Mail\Account::search(true,false) as $acc_id => $account)
|
||||
{
|
||||
// do NOT add SMTP only accounts as identities
|
||||
if (!$account->is_imap(false)) continue;
|
||||
|
||||
foreach($account->identities($acc_id) as $ident_id => $identity)
|
||||
{
|
||||
$sel_options['mailaccount'][$acc_id.':'.$ident_id] = $identity;
|
||||
|
Loading…
Reference in New Issue
Block a user