fixed log level

This commit is contained in:
Roland Gruber 2014-12-01 19:18:50 +00:00
parent 4f502d207a
commit 0a63e69b23
1 changed files with 1 additions and 1 deletions

View File

@ -1115,7 +1115,7 @@ function sendEMail($to, $subject, $text, $headers) {
$text = str_replace("\r\n", "\n", $text);
$headers = str_replace("\r\n", "\n", $headers);
}
logNewMessage(LOG_WARNING, $text);
logNewMessage(LOG_DEBUG, "Send mail to $to\n" . $text);
return mail($to, base64EncodeForEMail($subject), $text, $headers);
}