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