diff --git a/mail/inc/class.mail_compose.inc.php b/mail/inc/class.mail_compose.inc.php index 8bf2457cb0..253e2ef901 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -506,6 +506,13 @@ class mail_compose try { $success = $this->send($_content); + + //hook mail_compose_after_save + Api\Hooks::process( array( + 'location' => 'mail_compose_after_save', + 'content' => $_content, + )); + if ($success==false) { $sendOK=false;