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