Feature #17154 » 5294.patch
typo3_src-4.1/typo3/sysext/cms/tslib/class.tslib_fe.php 2007-03-26 00:37:52.957179680 +0200 | ||
---|---|---|
$EMAIL_VARS = $_procObj->sendFormmail_preProcessVariables($EMAIL_VARS,$this);
|
||
}
|
||
}
|
||
if (!$EMAIL_VARS['from_email'] && !$EMAIL_VARS['email'] && $this->tmpl->setup['config.']['mailformDefaults.']['email']) {
|
||
$EMAIL_VARS['email'] = $this->tmpl->setup['config.']['mailformDefaults.']['email'];
|
||
}
|
||
if (!$EMAIL_VARS['from_name'] && !$EMAIL_VARS['name'] && $this->tmpl->setup['config.']['mailformDefaults.']['name']) {
|
||
$EMAIL_VARS['name'] = $this->tmpl->setup['config.']['mailformDefaults.']['name'];
|
||
}
|
||
if ($this->tmpl->setup['config.']['mailformDefaults.']['returnPath']) {
|
||
$formmail->returnPath = $this->tmpl->setup['config.']['mailformDefaults.']['returnPath'];
|
||
}
|
||
$formmail->start($EMAIL_VARS);
|
||
$formmail->sendtheMail();
|
||
$GLOBALS['TT']->setTSlogMessage('"Formmail" invoked, sending mail to '.$EMAIL_VARS['recipient'],0);
|