Skip to content
Snippets Groups Projects
Commit 9d2e547c authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Removed Bare LF error with smtps email sending

parent 55ee0b08
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment