Issue Bug Closed

#19453double quote in t3lib_htmlmail produce error while sending mail

Frank Nägler 10/13/08, 15:21 updated 10/30/08, 09:50

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.