]> source.dussan.org Git - nextcloud-server.git/commitdiff
Set the debugoutput channel to error_log instead of echoing it
authorJoas Schilling <nickvergessen@gmx.de>
Wed, 21 Jan 2015 13:31:24 +0000 (14:31 +0100)
committerJoas Schilling <nickvergessen@gmx.de>
Wed, 21 Jan 2015 14:32:31 +0000 (15:32 +0100)
lib/private/mail.php

index 691ae1dd33f3d1f760c8aaf97c4757cbffa524b5..8ba7343e01192d76cd4cf7e63dae6b7e23beba93 100644 (file)
@@ -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;