mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 19:40:55 +01:00
Fix phpmailer-lite bug
Summary: Fixes T4417. In this particular codepath, the lovely CreateHeader already added the to: information, so no need to slap it on the front all ghetto style. Test Plan: imma push this live and test (I am lazy and don't want to configure amazon ses) Reviewers: epriestley CC: Korvin, epriestley, aran Maniphest Tasks: T4417 Differential Revision: https://secure.phabricator.com/D8288
This commit is contained in:
parent
55a94d8aba
commit
67326bb47a
1 changed files with 0 additions and 6 deletions
6
externals/phpmailer/class.phpmailer-lite.php
vendored
6
externals/phpmailer/class.phpmailer-lite.php
vendored
|
@ -491,13 +491,7 @@ class PHPMailerLite {
|
||||||
switch($this->Mailer) {
|
switch($this->Mailer) {
|
||||||
|
|
||||||
case 'amazon-ses':
|
case 'amazon-ses':
|
||||||
$toArr = array();
|
|
||||||
foreach($this->to as $t) {
|
|
||||||
$toArr[] = $this->AddrFormat($t);
|
|
||||||
}
|
|
||||||
$to = implode(', ', $toArr);
|
|
||||||
return $this->customMailer->executeSend(
|
return $this->customMailer->executeSend(
|
||||||
"To: ".$to."\n".
|
|
||||||
$header.
|
$header.
|
||||||
$body);
|
$body);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue