mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-22 19:49:02 +01:00
Fix an issue where "CC"-only email improperly wiped CC addresses
Summary: Ref T920. See <https://discourse.phabricator-community.org/t/ccd-emails-not-working-with-sendgrid-since-2019-week-1-update/2294>. Test Plan: Used `bin/mail send-test --cc ...` without `--to`, got email. Reviewers: amckinley Reviewed By: amckinley Maniphest Tasks: T920 Differential Revision: https://secure.phabricator.com/D19970
This commit is contained in:
parent
0c0cbb1c09
commit
96d3e73eed
1 changed files with 0 additions and 1 deletions
|
@ -54,7 +54,6 @@ final class PhabricatorMailEmailEngine
|
|||
// If that also fails, move the "Cc:" line to "To:".
|
||||
if (!$to_addresses) {
|
||||
$void_address = $this->newVoidEmailAddress();
|
||||
$cc_addresses = $to_addresses;
|
||||
$to_addresses = array($void_address);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue