NEW : Add sent info in the parameters provided to the hook sendMailAfter
This commit is contained in:
parent
7eedcdd115
commit
23b922f0b2
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user