smtp : don't add spare \n in debug

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2716 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2016-05-03 13:20:04 +00:00
parent f10b852369
commit 40d9a7ae4c

View File

@@ -156,7 +156,7 @@ class smtp
if (substr ($line, 3, 1) === " ") if (substr ($line, 3, 1) === " ")
break; break;
} }
$this->debug ("< $content\n"); $this->debug ("< $content");
if (substr ($line, 0, 1) !== "2" && substr ($line, 0, 1) !== "3") if (substr ($line, 0, 1) !== "2" && substr ($line, 0, 1) !== "3")
{ {
$this->debug ("Can't send mail : server answer : $line\n"); $this->debug ("Can't send mail : server answer : $line\n");