mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-06 06:46:25 +02:00
add mms files to mail transfert
This commit is contained in:
parent
d29424ff0c
commit
e06079e6af
5 changed files with 17 additions and 5 deletions
|
@ -74,7 +74,7 @@ class Mailer extends AbstractDaemon
|
|||
$this->logger->info('Try sending email : ' . json_encode($message));
|
||||
|
||||
$mailer = new \controllers\internals\Mailer();
|
||||
$success = $mailer->send($message['destinations'], $message['subject'], $message['body'], $message['alt_body']);
|
||||
$success = $mailer->send($message['destinations'], $message['subject'], $message['body'], $message['alt_body'], $message['attachments']);
|
||||
if (!$success)
|
||||
{
|
||||
$this->logger->error('Failed sending email');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue