NotifySmtpCheck.php
authoredward <edward@roojs.com>
Thu, 14 Jul 2016 05:24:56 +0000 (13:24 +0800)
committeredward <edward@roojs.com>
Thu, 14 Jul 2016 05:24:56 +0000 (13:24 +0800)
NotifySmtpCheck.php

index bd6fa46..1e73473 100644 (file)
@@ -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();