NotifySmtpCheck.php
[Pman.Core] / NotifySmtpCheck.php
index 1b37936..cf87c78 100644 (file)
@@ -45,7 +45,9 @@ class Pman_Core_NotifySmtpCheck extends Pman
         
         $e = `$cmd`;
         
-        print_R($e);exit;
+        $helo = substr(array_pop(explode(' ', $e)), 0, -1);
+        
+        print_R($helo);exit;
         
         $error = array();