From bd333b9bc968df21ae76fddddaa28301cb97c449 Mon Sep 17 00:00:00 2001 From: felix Valerio Date: Thu, 4 Apr 2024 15:31:26 -0400 Subject: [PATCH] fix issue with PHP8 and required paramater --- Service/Mailer.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;