mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
Set From identity base on identLabel preference
This commit is contained in:
parent
6800484429
commit
8c9b63e2c6
@ -2463,7 +2463,7 @@ class mail_compose
|
||||
$email_From = $_identity['ident_email'] ? $_identity['ident_email'] : $activeMailProfile['ident_email'];
|
||||
// Try to fix identity email with no domain part set
|
||||
$_mailObject->setFrom(Mail::fixInvalidAliasAddress(Api\Accounts::id2name($_identity['account_id'], 'account_email'), $email_From),
|
||||
Mail::generateIdentityString($_identity,false));
|
||||
mail_tree::getIdentityName($_identity));
|
||||
|
||||
$_mailObject->addHeader('X-Priority', $_formData['priority']);
|
||||
$_mailObject->addHeader('X-Mailer', 'EGroupware-Mail');
|
||||
|
Loading…
Reference in New Issue
Block a user