Set the debugoutput channel to error_log instead of echoing it

This commit is contained in:
Joas Schilling 2015-01-21 14:31:24 +01:00
parent ff5715779c
commit d4657aa592
1 changed files with 1 additions and 0 deletions

View 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;