From: edward Date: Thu, 14 Jul 2016 04:48:49 +0000 (+0800) Subject: NotifySmtpCheck.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=251179ffe700d75ef1be3da919561b5caea24502 NotifySmtpCheck.php --- 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);