From: edward Date: Thu, 14 Jul 2016 05:26:42 +0000 (+0800) Subject: NotifySmtpCheck.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=d54f2bc6481d2ea7f3317b231977f0debe8e0fdb NotifySmtpCheck.php --- diff --git a/NotifySmtpCheck.php b/NotifySmtpCheck.php index abb9908f..cf87c787 100644 --- a/NotifySmtpCheck.php +++ b/NotifySmtpCheck.php @@ -45,7 +45,7 @@ class Pman_Core_NotifySmtpCheck extends Pman $e = `$cmd`; - $helo = array_pop(explode(' ', $e)); + $helo = substr(array_pop(explode(' ', $e)), 0, -1); print_R($helo);exit;