Fix: Removed Bare LF error with smtps email sending
This commit is contained in:
parent
8af7d8c9c1
commit
ce0f9cded7
@ -1928,7 +1928,7 @@ class SMTPs
|
|||||||
// Make RFC821 Compliant, replace bare linefeeds
|
// Make RFC821 Compliant, replace bare linefeeds
|
||||||
$strContent = preg_replace("/(?<!\r)\n/si", "\r\n", $strContent );
|
$strContent = preg_replace("/(?<!\r)\n/si", "\r\n", $strContent );
|
||||||
|
|
||||||
$strContent = rtrim(wordwrap($strContent));
|
$strContent = rtrim(wordwrap($strContent, 75, "\r\n"));
|
||||||
|
|
||||||
$this->_msgContent[$strType] = array();
|
$this->_msgContent[$strType] = array();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user