Project

General

Profile

Bug #19562 ยป doublequote.diff

Administrator Admin, 2008-11-03 15:56

View differences:

typo3_src-4.2.2/t3lib/class.t3lib_htmlmail.php 2008-11-03 14:33:26.000000000 +0100
// On windows the -f flag is not used (specific for Sendmail and Postfix),
// but instead the php.ini parameter sendmail_from is used.
$returnPath = (strlen($this->returnPath) > 0) ? '-f "' . escapeshellarg($this->returnPath) . '"' : '';
$returnPath = (strlen($this->returnPath) > 0) ? '-f ' . escapeshellarg($this->returnPath) : '';
if($this->returnPath) {
@ini_set('sendmail_from', t3lib_div::normalizeMailAddress($this->returnPath));
}
    (1-1/1)