From a3e679bcf1c8bd68c78b1502f710fdbbc6749131 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Thu, 16 Jun 2016 16:41:03 +0300 Subject: [PATCH] 14.06.16 --- common/widgets/Mailer.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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