@@ -77,7 +77,7 @@ public function sendFromTemplate($from, $to, $cc, $bcc, $subject, $template, $pa
77
77
* @return bool
78
78
*/
79
79
public function sendEmail ($ from , $ to , $ cc , $ bcc , $ subject , $ html , $ attachments = array (), $ smtp = null ) {
80
- return $ this ->processEmail ($ from , $ to , $ cc , $ bcc , $ subject , $ html , $ attachments , $ smtp );
80
+ return $ this ->processEmail ($ from , $ to , $ subject , $ cc , $ bcc , $ html , $ attachments , $ smtp );
81
81
}
82
82
83
83
/**
@@ -89,9 +89,9 @@ public function resend(Email $email) {
89
89
$ this ->processEmail (
90
90
$ email ->getMessageFrom (),
91
91
$ email ->getMessageTo (),
92
+ $ email ->getMessageSubject (),
92
93
$ email ->getMessageCc (),
93
94
$ email ->getMessageBcc (),
94
- $ email ->getMessageSubject (),
95
95
$ email ->getMessageBody (),
96
96
$ email ->getAttachments ()
97
97
);
@@ -298,7 +298,7 @@ private function embedBase64Images(\Swift_Message $message, $body)
298
298
* @param array $attachments
299
299
* @return bool
300
300
*/
301
- private function processEmail ($ from , $ to , $ cc = array (), $ bcc = array (), $ subject , $ html = "" , $ attachments = array (), $ smtp = null ) {
301
+ private function processEmail ($ from , $ to , $ subject , $ cc = array (), $ bcc = array (), $ html = "" , $ attachments = array (), $ smtp = null ) {
302
302
303
303
if ($ this ->devMode ) {
304
304
$ to = $ this ->devTo ;
0 commit comments