Project

General

Profile

Actions

Bug #19333

closed

t3lib_htmlmail: excess newlienes in plain-text headers

Added by Michael Cannon about 16 years ago. Updated over 11 years ago.

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)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #17505: Output of class.t3lib_htmlmail.php is not standard compliantClosed2007-08-08

Actions
Actions #1

Updated by Alexander Opitz over 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #2

Updated by Michael Cannon over 11 years ago

No idea. Truly forgot about this and not in position to test if it's still a problem.

Actions #3

Updated by Alexander Opitz over 11 years ago

  • Status changed from Needs Feedback to Closed

As #17505 was also about blank lines => closed.

Actions

Also available in: Atom PDF