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