Fix LogFile type emails

This commit is contained in:
Stephen Abello
2023-11-27 12:14:33 +01:00
parent 9b1cdd3581
commit f0ea97850b

View File

@@ -205,7 +205,8 @@ class EMailLaminas extends Email
case 'LogFile':
$oTransport = new File();
$aOptions = new FileOptions([
'path' => APPROOT.'log/mail.log',
'path' => APPROOT.'log/',
'callback' => function() { return 'mail.log'; }
]);
$oTransport->setOptions($aOptions);
break;