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:
2
mail.php
2
mail.php
@@ -1109,7 +1109,7 @@ class mail
|
|||||||
if (substr ($value, -1) !== "\n" &&
|
if (substr ($value, -1) !== "\n" &&
|
||||||
substr ($value, -1) !== "\r" &&
|
substr ($value, -1) !== "\r" &&
|
||||||
substr ($value, -2) !== "\r\n")
|
substr ($value, -2) !== "\r\n")
|
||||||
$value .= "\n";
|
$value .= "\r\n";
|
||||||
if ($sectionID === null)
|
if ($sectionID === null)
|
||||||
{
|
{
|
||||||
$sectionMainID = $this->sectionMainID ();
|
$sectionMainID = $this->sectionMainID ();
|
||||||
|
|||||||
Reference in New Issue
Block a user