Bug #24814 ยป 17314.diff
t3lib/class.t3lib_formmail.php (Arbeitskopie) | ||
---|---|---|
$this->mailMessage = t3lib_div::makeInstance('t3lib_mail_Message');
|
||
if ($GLOBALS['TYPO3_CONF_VARS']['SYS']['forceReturnPath']) {
|
||
$this->returnPath = $GLOBALS['TYPO3_CONF_VARS']['SYS']['forceReturnPath'];
|
||
$this->mailMessage->setReturnPath($this->returnPath);
|
||
}
|
||
$this->mailMessage->getHeaders()->addTextHeader('X-Mailer', 'TYPO3');
|
||
if ($GLOBALS['TSFE']->config['config']['formMailCharset']) {
|
||
// Respect formMailCharset if it was set
|
||
$this->characterSet = $GLOBALS['TSFE']->csConvObj->parse_charset($GLOBALS['TSFE']->config['config']['formMailCharset']);
|