Skip to content

Commit 67326bb

Browse files
committedFeb 21, 2014
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
1 parent 55a94d8 commit 67326bb

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed
 

‎externals/phpmailer/class.phpmailer-lite.php

-6
Original file line numberDiff line numberDiff line change
@@ -491,13 +491,7 @@ public function Send() {
491491
switch($this->Mailer) {
492492

493493
case 'amazon-ses':
494-
$toArr = array();
495-
foreach($this->to as $t) {
496-
$toArr[] = $this->AddrFormat($t);
497-
}
498-
$to = implode(', ', $toArr);
499494
return $this->customMailer->executeSend(
500-
"To: ".$to."\n".
501495
$header.
502496
$body);
503497

0 commit comments

Comments
 (0)
Failed to load comments.