Set the debugoutput channel to error_log instead of echoing it
This commit is contained in:
parent
ff5715779c
commit
d4657aa592
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue