mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 05:12:41 +01:00
Set from name when $can_send_as_user is true
Test Plan: Crossed fingers. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D8694
This commit is contained in:
parent
a0ac3d6716
commit
133772d7eb
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ final class PhabricatorMetaMTAMail extends PhabricatorMetaMTADAO {
|
|||
PhabricatorEnv::getEnvConfig('metamta.can-send-as-user');
|
||||
|
||||
if ($can_send_as_user) {
|
||||
$mailer->setFrom($actor_email);
|
||||
$mailer->setFrom($actor_email, $actor_name);
|
||||
} else {
|
||||
$from_email = coalesce($actor_email, $default_from);
|
||||
$from_name = coalesce($actor_name, pht('Phabricator'));
|
||||
|
|
Loading…
Reference in a new issue