diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-01-21 16:30:54 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-01-21 16:30:54 +0100 |
commit | 5864394d1a6e79f0022db9d7a87c29aa9b0103c0 (patch) | |
tree | c6639cb85e507164d7216cbe79a2388980319fb6 | |
parent | 651c68fd6e6c36ae4bfc5946add28bcf6966b565 (diff) | |
parent | d4657aa5929965db7cc400ffdf2f0136d5b413f0 (diff) | |
download | nextcloud-server-5864394d1a6e79f0022db9d7a87c29aa9b0103c0.tar.gz nextcloud-server-5864394d1a6e79f0022db9d7a87c29aa9b0103c0.zip |
Merge pull request #13554 from owncloud/issue/13482
Set the debugoutput channel to error_log instead of echoing it
-rw-r--r-- | lib/private/mail.php | 1 |
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; |