Actions
Bug #19453
closeddouble quote in t3lib_htmlmail produce error while sending mail
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-10-13
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
since 4.2.2 the class t3lib_htmlmail contains the following line (line 716):
$returnPath = (strlen($this->returnPath) > 0) ? '-f "' . escapeshellarg($this->returnPath) . '"' : '';
the returnPath will be double quoted, which produce and error, because the mail server does'nt except the mail adress 'noreplay@domain.rl'
it works correct this way:
$returnPath = (strlen($this->returnPath) > 0) ? '-f ' . escapeshellarg($this->returnPath) : '';
(issue imported from #M9543)
Actions