Merge pull request #92 from jeffreyguo/pulls/testmailer-array

update the params to be array on sending email
This commit is contained in:
Damian Mooyman 2015-07-29 11:53:22 +12:00
commit 7f370df19b
1 changed files with 4 additions and 4 deletions

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;