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