Project

General

Profile

Actions

Bug #19453

closed

double quote in t3lib_htmlmail produce error while sending mail

Added by Frank Nägler about 16 years ago. Updated about 16 years ago.

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 ''

it works correct this way:
$returnPath = (strlen($this->returnPath) > 0) ? '-f ' . escapeshellarg($this->returnPath) : '';

(issue imported from #M9543)

Actions

Also available in: Atom PDF