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,
|
||||
'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;
|
||||
|
Loading…
Reference in New Issue
Block a user