mail: Add the headers with \r\n instead of \n

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3780 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2017-06-16 11:29:29 +00:00
parent f2e8763cc6
commit de6b079075

View File

@@ -1109,7 +1109,7 @@ class mail
if (substr ($value, -1) !== "\n" &&
substr ($value, -1) !== "\r" &&
substr ($value, -2) !== "\r\n")
$value .= "\n";
$value .= "\r\n";
if ($sectionID === null)
{
$sectionMainID = $this->sectionMainID ();