Kinglozzer\SilverStripeMailgunner\Mailer::prepareAttachments
Prepare attachments for sending. SilverStripe extracts the content and passes that to the mailer, so to save encoding it we just write them all to individual files and let Mailgun deal with the rest.
Signature
protected function prepareAttachments(array
$attachments )
Parameters
$attachments
— array
Returns
- array
Line | Task |
---|---|
258+ | Can we handle this better? |