NotifySmtpCheck.php
[Pman.Core] / NotifySmtpCheck.php
index 6333af5..1e73473 100644 (file)
@@ -39,9 +39,11 @@ class Pman_Core_NotifySmtpCheck extends Pman
             return;
         }
         
-        print_R($element->item(0));exit;
+        $ip = $element->item(0)->nodeValue;
         
-        print_R($lists);exit;
+        $cmd = "host {$ip}";
+        
+        $e = `$cmd`;
         
         $error = array();