1
0
mirror of https://github.com/silverstripe/silverstripe-behat-extension synced 2024-10-22 17:05:32 +02:00

Merge pull request 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

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;