[TYPO3] Multiple dynamic recipients in tmailform

Matthias Stuebner news at contratec.de
Fri Apr 13 00:38:55 CEST 2007


On Tue, 10 Apr 2007 13:16:27 -0700, Tim B wrote:

> Is it possible to send an email to multiple recipients per line in the
> dynamic select box of the tmailform?
> 
> example from dynamic dropdown:
> Email address 1; bob at email.com; joe at email.com
> Email address 2; leafssuck at 123.com; canucksrule at 123.com
> 
> I can get it to work fine with one email per selection and i suspect it
> should work with 2 email addresses, just can't seem to get the syntax
> correct.

I think the following lines from the code answers your question:

	# send mail 
	$emailto = split(',', $email_to);
	if (is_array($emailto)) {
	..............
	}
-- 
br Matthias


More information about the TYPO3-english mailing list