diff --git a/common/widgets/Mailer.php b/common/widgets/Mailer.php index 003a104..fb54f5d 100755 --- a/common/widgets/Mailer.php +++ b/common/widgets/Mailer.php @@ -24,7 +24,13 @@ class Mailer extends Widget{ $mail = new \PHPMailer(); $mail->IsSMTP(); - + $mail->SMTPOptions = array( + 'ssl' => array( + 'verify_peer' => false, + 'verify_peer_name' => false, + 'allow_self_signed' => true + ) + ); $mail->Host = "195.248.225.139"; $mail->SMTPDebug = true; $mail->SMTPAuth = 0; -- libgit2 0.21.4