feature/add-attachments #2
|
@ -158,7 +158,7 @@ class BluescaleMailTemplate implements \JsonSerializable
|
|||
$file = is_object($file) && method_exists($file, 'getRealPath') ? $file->getRealPath() : $file;
|
||||
|
||||
$this->attachments[] = [
|
||||
'file' => $file,
|
||||
'path' => $file,
|
||||
'filename' => $filename ?? basename($file)
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue