diff --git a/Service/Mailer.php b/Service/Mailer.php index c868dc4..99f3354 100755 --- a/Service/Mailer.php +++ b/Service/Mailer.php @@ -77,7 +77,7 @@ public function sendFromTemplate($from, $to, $cc, $bcc, $subject, $template, $pa * @return bool */ public function sendEmail($from, $to, $cc, $bcc, $subject, $html, $attachments = array(), $smtp = null) { - return $this->processEmail($from, $to, $cc, $bcc, $subject, $html, $attachments, $smtp); + return $this->processEmail($from, $to, $subject, $cc, $bcc, $html, $attachments, $smtp); } /** @@ -89,9 +89,9 @@ public function resend(Email $email) { $this->processEmail( $email->getMessageFrom(), $email->getMessageTo(), + $email->getMessageSubject(), $email->getMessageCc(), $email->getMessageBcc(), - $email->getMessageSubject(), $email->getMessageBody(), $email->getAttachments() ); @@ -298,7 +298,7 @@ private function embedBase64Images(\Swift_Message $message, $body) * @param array $attachments * @return bool */ - private function processEmail($from, $to, $cc = array(), $bcc = array(), $subject, $html = "", $attachments = array(), $smtp = null) { + private function processEmail($from, $to, $subject, $cc = array(), $bcc = array(), $html = "", $attachments = array(), $smtp = null) { if($this->devMode) { $to = $this->devTo;