return the email_sent status

This commit is contained in:
redmatrix 2016-10-03 15:58:54 -07:00
parent 76c2de38ff
commit 5b10db6f91

View file

@ -633,8 +633,8 @@ class Enotify {
call_hooks('email_send', $params);
if($params['sent']) {
logger("notification: enotify::send returns " . $params['result'], LOGGER_DEBUG);
return;
logger("notification: enotify::send (addon) returns " . $params['result'], LOGGER_DEBUG);
return $params['result'];
}
$fromName = email_header_encode(html_entity_decode($params['fromName'],ENT_QUOTES,'UTF-8'),'UTF-8');