From d4657aa5929965db7cc400ffdf2f0136d5b413f0 Mon Sep 17 00:00:00 2001 From: Joas Schilling <nickvergessen@gmx.de> Date: Wed, 21 Jan 2015 14:31:24 +0100 Subject: [PATCH] Set the debugoutput channel to error_log instead of echoing it --- lib/private/mail.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/mail.php b/lib/private/mail.php index 691ae1dd33..8ba7343e01 100644 --- a/lib/private/mail.php +++ b/lib/private/mail.php @@ -61,6 +61,7 @@ class OC_Mail { $mailo->Port = $SMTPPORT; $mailo->SMTPAuth = $SMTPAUTH; $mailo->SMTPDebug = $SMTPDEBUG; + $mailo->Debugoutput = 'error_log'; $mailo->SMTPSecure = $SMTPSECURE; $mailo->AuthType = $SMTPAUTHTYPE; $mailo->Username = $SMTPUSERNAME; -- GitLab