NotifySmtpCheck.php
authoredward <edward@roojs.com>
Thu, 14 Jul 2016 05:26:50 +0000 (13:26 +0800)
committeredward <edward@roojs.com>
Thu, 14 Jul 2016 05:26:50 +0000 (13:26 +0800)
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;