Skip to content
Snippets Groups Projects
Commit d4657aa5 authored by Joas Schilling's avatar Joas Schilling
Browse files

Set the debugoutput channel to error_log instead of echoing it

parent ff571577
No related branches found
No related tags found
No related merge requests found
...@@ -61,6 +61,7 @@ class OC_Mail { ...@@ -61,6 +61,7 @@ class OC_Mail {
$mailo->Port = $SMTPPORT; $mailo->Port = $SMTPPORT;
$mailo->SMTPAuth = $SMTPAUTH; $mailo->SMTPAuth = $SMTPAUTH;
$mailo->SMTPDebug = $SMTPDEBUG; $mailo->SMTPDebug = $SMTPDEBUG;
$mailo->Debugoutput = 'error_log';
$mailo->SMTPSecure = $SMTPSECURE; $mailo->SMTPSecure = $SMTPSECURE;
$mailo->AuthType = $SMTPAUTHTYPE; $mailo->AuthType = $SMTPAUTHTYPE;
$mailo->Username = $SMTPUSERNAME; $mailo->Username = $SMTPUSERNAME;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment