From 251179ffe700d75ef1be3da919561b5caea24502 Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 14 Jul 2016 12:48:49 +0800 Subject: [PATCH] NotifySmtpCheck.php --- NotifySmtpCheck.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/NotifySmtpCheck.php b/NotifySmtpCheck.php index 95cecd7f..8fd8178d 100644 --- a/NotifySmtpCheck.php +++ b/NotifySmtpCheck.php @@ -54,10 +54,11 @@ class Pman_Core_NotifySmtpCheck extends Pman // $smtpmx = new Mail_smtpmx($params); // $smtpmx->debug = true; - $options = array( + $options = array ( + 'ssl' => array( 'verify_peer' => false, 'verify_peer_name' => false, - 'allow_self_signed' => true); + 'allow_self_signed' => true)); $smtp = new Net_SMTP($server, 25, $dom, false, 0, $options); -- 2.39.2