Forums / Setup & design / Multiple email adresses (Information collector)
Tonny Laursen
Friday 05 September 2003 5:40:44 am
I have followed the guide about Information collector and it is working. Now I want the form to send the information to multiple recipients. If I use ':', ',' or ';' as seperators is it not working like (name@domain.dk, name1@domain.dk). Is this possible or do I have to make a attribute for each recipient?
Bjørn Kaarstein
Sunday 07 September 2003 11:51:31 pm
If you skip this line in collectedinfomail.tpl
{* Use this line to specify the e-mail in the template, can read this from the object to make it dynamic pr form {set-block scope=root variable=email_receiver}nospam@ez.no{/set-block}*}
and use site.ini (site.ini.append), you can specify several recipients seperated by comma.
[MailSettings]AdminEmail=mail1@mysite.com, mail2@mysite.com
You can also use
[InformationCollectionSettings] # Which email collected information is sent toEmailReceiver=mail1@mysite.com, mail2@mysite.com
Regards Bjørn
Monday 08 September 2003 1:08:08 am
This is not what I exactly want.
I have created a class for use on multiple pages. Which means that every time I create the form, then I can type who is the email recipients because every form have different multiple email recievers. How can I do that?
Tonny
Monday 08 September 2003 1:15:43 am
OK, now I get what you want.
Take a look at this thread: http://ez.no/developer/ez_publish_3/forum/setup_design/missing_emailsender_in_email_headers
Maybe you could modify the php file, and just add a second variable holding an extra email receiver.
laurent le cadet
Tuesday 23 September 2003 12:41:06 am
Hi,
I have the same problem :
I created a form wich is use in differents parts of the site with on different email receiver in each part.
I followed the first Bjørn answer (08/september) and try with differents adresses but even after cleaning the caches the form still send its content to the same adress.
What can I do or what I haven't done ?
Laurent