Project

General

Profile

Bug #16604 ยป at_mail_from.diff

Administrator Admin, 2006-09-28 22:50

View differences:

t3lib/class.t3lib_formmail.php 2006-09-09 11:03:46.404193592 +0000
$this->organisation = ($convCharset && strlen($val)) ? $GLOBALS['TSFE']->csConvObj->conv($val,$GLOBALS['TSFE']->renderCharset,$this->charset) : $val;
$this->from_email = ($V['from_email']) ? $V['from_email'] : (($V['email'])?$V['email']:'');
if (strlen($GLOBALS['TSFE']->config['config']['spamProtectEmailAddresses_atSubst']) > 0) {
$this->from_email = str_replace($GLOBALS['TSFE']->config['config']['spamProtectEmailAddresses_atSubst'], "@", $this->from_email);
}
$this->replyto_email = ($V['replyto_email']) ? $V['replyto_email'] : $this->from_email;
$this->priority = ($V['priority']) ? t3lib_div::intInRange($V['priority'],1,5) : 3;
    (1-1/1)