mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Handling exceptions
This commit is contained in:
parent
66da0a2151
commit
8afcddf44f
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ class OC_Mail {
|
|||
$SMTPPASSWORD = OC_Config::getValue( 'mail_smtppassword', '' );
|
||||
|
||||
|
||||
$mailo = new PHPMailer();
|
||||
$mailo = new PHPMailer(true);
|
||||
if($SMTPMODE=='sendmail') {
|
||||
$mailo->IsSendmail();
|
||||
}elseif($SMTPMODE=='smtp'){
|
||||
|
|
|
|||
Loading…
Reference in a new issue