Actions
Bug #19333
closedt3lib_htmlmail: excess newlienes in plain-text headers
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-09-15
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Plain text emails sent via t3lib_htmlmail have an excess blank line after the header that causes some third-party mail processing tools to fail because there's more than one newline between mail headers and message body start.
Easy fix; after adding the headers in t3lib/class.t3lib_htmlmail.php line 545, add below it the following.
--
$this->headers = preg_replace("#\n$#", '', $this->headers);
--
(issue imported from #M9352)
Actions