From de24281b5fc107910a799697ccaa528b9999c7e9 Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 14 Jul 2016 13:24:56 +0800 Subject: [PATCH] NotifySmtpCheck.php --- NotifySmtpCheck.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/NotifySmtpCheck.php b/NotifySmtpCheck.php index bd6fa46c..1e734739 100644 --- a/NotifySmtpCheck.php +++ b/NotifySmtpCheck.php @@ -41,7 +41,9 @@ class Pman_Core_NotifySmtpCheck extends Pman $ip = $element->item(0)->nodeValue; - print_R($ip);exit; + $cmd = "host {$ip}"; + + $e = `$cmd`; $error = array(); -- 2.39.2