Changeset View
Changeset View
Standalone View
Standalone View
externals/phpmailer/class.phpmailer-lite.php
| Show First 20 Lines • Show All 485 Lines • ▼ Show 20 Lines | try { | ||||
| $header_dkim = $this->DKIM_Add($header,$this->Subject,$body); | $header_dkim = $this->DKIM_Add($header,$this->Subject,$body); | ||||
| $header = str_replace("\r\n","\n",$header_dkim) . $header; | $header = str_replace("\r\n","\n",$header_dkim) . $header; | ||||
| } | } | ||||
| // Choose the mailer and send through it | // Choose the mailer and send through it | ||||
| 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); | ||||
| case 'sendmail': | case 'sendmail': | ||||
| $sendAction = $this->SendmailSend($header, $body); | $sendAction = $this->SendmailSend($header, $body); | ||||
| return $sendAction; | return $sendAction; | ||||
| default: | default: | ||||
| $sendAction = $this->MailSend($header, $body); | $sendAction = $this->MailSend($header, $body); | ||||
| ▲ Show 20 Lines • Show All 1,580 Lines • Show Last 20 Lines | |||||