diff --git a/main/inc/lib/mail.lib.inc.php b/main/inc/lib/mail.lib.inc.php old mode 100755 new mode 100644 index d3baa4a94b..bf8ae96195 --- a/main/inc/lib/mail.lib.inc.php +++ b/main/inc/lib/mail.lib.inc.php @@ -88,7 +88,7 @@ function api_mail($recipient_name, $recipient_email, $subject, $message, $sender // Send the mail message. if (!$mail->Send()) { - //echo 'ERROR: mail not sent to '.$recipient_name.' ('.$recipient_email.') because of '.$mail->ErrorInfo.'
'; + error_log('ERROR: mail not sent to '.$recipient_name.' ('.$recipient_email.') because of '.$mail->ErrorInfo.'
'); return 0; }