Project

General

Profile

Bug #22214 » bug_13701.diff

Administrator Admin, 2010-05-10 17:48

View differences:

./typo3.new/branches/TYPO3_4-3/t3lib/class.t3lib_htmlmail.php 2010-03-01 13:28:16.250022078 +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) : '';
if($this->returnPath) {
$returnPath = ($this->forceReturnPath && strlen($this->returnPath) > 0) ? '-f ' . escapeshellarg($this->returnPath) : '';
if (TYPO3_OS == 'WIN' && $this->returnPath) {
@ini_set('sendmail_from', t3lib_div::normalizeMailAddress($this->returnPath));
}
$recipient = t3lib_div::normalizeMailAddress($this->recipient);
(2-2/2)