update the params to be array on sending email

This commit is contained in:
Jeffrey Guo 2015-07-27 15:36:36 +12:00
parent 1201cded6e
commit 3b6b525e8c

View File

@ -30,8 +30,8 @@ class TestMailer extends \Mailer {
'Subject' => $subject,
'Content' => $plainContent,
'PlainContent' => $plainContent,
'AttachedFiles' => implode(',', $attachedFiles),
'CustomHeaders' => implode(',', $customHeaders),
'AttachedFiles' => $attachedFiles,
'CustomHeaders' => $customHeaders,
));
return true;
@ -51,8 +51,8 @@ class TestMailer extends \Mailer {
'Subject' => $subject,
'Content' => $htmlContent,
'PlainContent' => $plainContent,
'AttachedFiles' => implode(',', $attachedFiles),
'CustomHeaders' => implode(',', $customHeaders),
'AttachedFiles' => $attachedFiles,
'CustomHeaders' => $customHeaders,
));
return true;