disable debug output of PHPMailer

This commit is contained in:
2019-01-24 01:47:13 +01:00
parent c60a1bb2ac
commit 61e3465797

View File

@@ -28,7 +28,6 @@ function send_mail($receiver, $subject, $body) {
$mail = new PHPMailer(true); $mail = new PHPMailer(true);
try { try {
$mail->CharSet = 'utf-8'; // Enable utf-8 support for umlauts $mail->CharSet = 'utf-8'; // Enable utf-8 support for umlauts
$mail->SMTPDebug = 2; // Enable verbose debug output
if (is_array($config["smtp"])) { if (is_array($config["smtp"])) {
$smtp_conf = $config["smtp"]; $smtp_conf = $config["smtp"];