summaryrefslogtreecommitdiffstats
path: root/lib/private/mail.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/mail.php')
-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;