summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-01-21 14:31:24 +0100
committerJoas Schilling <nickvergessen@gmx.de>2015-01-21 15:32:31 +0100
commitd4657aa5929965db7cc400ffdf2f0136d5b413f0 (patch)
tree17bca4ce9f7143f4251065dce2b7b88b2678a06c /lib
parentff5715779c56ceacc870307bf25f4e769ff22a1a (diff)
downloadnextcloud-server-d4657aa5929965db7cc400ffdf2f0136d5b413f0.tar.gz
nextcloud-server-d4657aa5929965db7cc400ffdf2f0136d5b413f0.zip
Set the debugoutput channel to error_log instead of echoing it
Diffstat (limited to 'lib')
-rw-r--r--lib/private/mail.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/mail.php b/lib/private/mail.php
index 691ae1dd33f..8ba7343e011 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;