From 36afbc9e11142c6468acc025d63990a3d44288c3 Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 14 Jul 2016 13:27:08 +0800 Subject: [PATCH] NotifySmtpCheck.php --- NotifySmtpCheck.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/NotifySmtpCheck.php b/NotifySmtpCheck.php index 886246dd..1de2f94e 100644 --- a/NotifySmtpCheck.php +++ b/NotifySmtpCheck.php @@ -47,8 +47,6 @@ class Pman_Core_NotifySmtpCheck extends Pman $helo = substr(array_pop(explode(' ', $e)), 0, -2); - print_R($helo);exit; - $error = array(); foreach ($ff->Core_Notify['routes'] as $server => $settings){ @@ -67,7 +65,7 @@ class Pman_Core_NotifySmtpCheck extends Pman ) ); - $smtp = new Net_SMTP($server, $settings['port'], '058177247238.ctinets.com', false, 0, $socket_options); + $smtp = new Net_SMTP($server, $settings['port'], $helo, false, 0, $socket_options); $smtp->setDebug(true); -- 2.39.2