mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-10-22 17:05:32 +02:00
Merge pull request #92 from jeffreyguo/pulls/testmailer-array
update the params to be array on sending email
This commit is contained in:
commit
7f370df19b
@ -30,8 +30,8 @@ class TestMailer extends \Mailer {
|
|||||||
'Subject' => $subject,
|
'Subject' => $subject,
|
||||||
'Content' => $plainContent,
|
'Content' => $plainContent,
|
||||||
'PlainContent' => $plainContent,
|
'PlainContent' => $plainContent,
|
||||||
'AttachedFiles' => implode(',', $attachedFiles),
|
'AttachedFiles' => $attachedFiles,
|
||||||
'CustomHeaders' => implode(',', $customHeaders),
|
'CustomHeaders' => $customHeaders,
|
||||||
));
|
));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
@ -51,8 +51,8 @@ class TestMailer extends \Mailer {
|
|||||||
'Subject' => $subject,
|
'Subject' => $subject,
|
||||||
'Content' => $htmlContent,
|
'Content' => $htmlContent,
|
||||||
'PlainContent' => $plainContent,
|
'PlainContent' => $plainContent,
|
||||||
'AttachedFiles' => implode(',', $attachedFiles),
|
'AttachedFiles' => $attachedFiles,
|
||||||
'CustomHeaders' => implode(',', $customHeaders),
|
'CustomHeaders' => $customHeaders,
|
||||||
));
|
));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user