NEW : Add sent info in the parameters provided to the hook sendMailAfter

This commit is contained in:
kkhelifa 2022-12-20 17:38:01 +01:00
parent 7eedcdd115
commit 23b922f0b2

View File

@ -1123,7 +1123,7 @@ class CMailFile
return 'Bad value for sendmode';
}
$parameters = array();
$parameters = array('sent' => $res);
$action = '';
$reshook = $hookmanager->executeHooks('sendMailAfter', $parameters, $this, $action); // Note that $action and $object may have been modified by some hooks
if ($reshook < 0) {