From 6777f586b1f8ccdfc288d6e6385b2f0ac4937166 Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 14 Jul 2016 13:26:50 +0800 Subject: [PATCH] NotifySmtpCheck.php --- NotifySmtpCheck.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NotifySmtpCheck.php b/NotifySmtpCheck.php index cf87c787..886246dd 100644 --- a/NotifySmtpCheck.php +++ b/NotifySmtpCheck.php @@ -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; -- 2.39.2