You've already forked laravel-mail
test
This commit is contained in:
@@ -55,8 +55,8 @@ class BluescaleMailApi
|
|||||||
if (count($attachments) > 0) {
|
if (count($attachments) > 0) {
|
||||||
$formatted_attachmments = [];
|
$formatted_attachmments = [];
|
||||||
foreach ($attachments as $attachment) {
|
foreach ($attachments as $attachment) {
|
||||||
$file = new UploadedFile($attachment['path'], $attachment['filename'], 'application/octet-stream', null, null, false);
|
// $file = new UploadedFile($attachment['path'], $attachment['filename'], 'application/octet-stream', null, null, false);
|
||||||
$formatted_attachmments[] = $file;
|
$formatted_attachmments[] = $attachment;
|
||||||
}
|
}
|
||||||
|
|
||||||
$template->attachments = $formatted_attachmments;
|
$template->attachments = $formatted_attachmments;
|
||||||
|
|||||||
Reference in New Issue
Block a user