Merge pull request #23278 from OPEN-DSI/develop_new_add_sent_info_on_send_email_after_hook
NEW : Add sent info in the parameters provided to the hook sendMailAfter
This commit is contained in:
commit
2256df9389
@ -1123,7 +1123,7 @@ class CMailFile
|
|||||||
return 'Bad value for sendmode';
|
return 'Bad value for sendmode';
|
||||||
}
|
}
|
||||||
|
|
||||||
$parameters = array();
|
$parameters = array('sent' => $res);
|
||||||
$action = '';
|
$action = '';
|
||||||
$reshook = $hookmanager->executeHooks('sendMailAfter', $parameters, $this, $action); // Note that $action and $object may have been modified by some hooks
|
$reshook = $hookmanager->executeHooks('sendMailAfter', $parameters, $this, $action); // Note that $action and $object may have been modified by some hooks
|
||||||
if ($reshook < 0) {
|
if ($reshook < 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user