mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 14:30:56 +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');
|
PhabricatorEnv::getEnvConfig('metamta.can-send-as-user');
|
||||||
|
|
||||||
if ($can_send_as_user) {
|
if ($can_send_as_user) {
|
||||||
$mailer->setFrom($actor_email);
|
$mailer->setFrom($actor_email, $actor_name);
|
||||||
} else {
|
} else {
|
||||||
$from_email = coalesce($actor_email, $default_from);
|
$from_email = coalesce($actor_email, $default_from);
|
||||||
$from_name = coalesce($actor_name, pht('Phabricator'));
|
$from_name = coalesce($actor_name, pht('Phabricator'));
|
||||||
|
|
Loading…
Reference in a new issue