[TYPO3-dev] mailform using cObj->FORM in own extension
Peter Russ
peter.russ at 4many.net
Wed Oct 11 09:43:17 CEST 2006
Michael Leupold schrieb:
> Am Mittwoch, 4. Oktober 2006 17:45 schrieb Peter Russ:
>>> I'm trying to develop a small extension for one of my customers. It's
>>> basically just an event list with options to book events. Booking is
>>> planned to be "very simple" - by emails sent out to the customers. And
>>> that's where my trouble starts.
>> For security reason the recipient gets encrypted per default:
>> see at install
>> $GLOBALS['TYPO3_CONF_VARS']['FE']['secureFormmail']=1
>> and
>> $GLOBALS['TYPO3_CONF_VARS']['FE']['strictFormmail']=1.
[...]
> Setting locally doesn't help as typo3 needs the same settings for sending the
> mail (which it does from index.php -> tslib/class.tslib_fe.php). So I set the
> values in my global config:
> $TYPO3_CONF_VARS['FE']['secureFormmail'] = 0;
> $TYPO3_CONF_VARS['FE']['strictFormmail'] = 1;
> Afterwards I set in my extension:
> $conf['anmeldungForm.']['recipient'] = $row_seminar["email"];
;-) You got it right and solved the the "install $GLOBAL"
Sorry for confusing wording. Will try to improve.
Regs. Peter.
More information about the TYPO3-dev
mailing list