diff --git a/src/FusionDirectory/Mail/MailLib.php b/src/FusionDirectory/Mail/MailLib.php index 0293e8bcd01a90d09967964f38a74cbe51432201..b6ab1e13d85b1515ef8649a832bb0d0b6a485c66 100644 --- a/src/FusionDirectory/Mail/MailLib.php +++ b/src/FusionDirectory/Mail/MailLib.php @@ -72,13 +72,13 @@ class MailLib $this->mail->AuthType = 'LOGIN'; } else { // Disable SSL certificate verification - $this->mail->SMTPOptions = array( - 'ssl' => array( + $this->mail->SMTPOptions = [ + 'ssl' => [ 'verify_peer' => FALSE, 'verify_peer_name' => FALSE, 'allow_self_signed' => TRUE - ) - ); + ] + ]; }