Share » Forums » Setup & design » Multiple email adresses (Information...

Multiple email adresses (Information collector)

Multiple email adresses (Information collector)

Friday 05 September 2003 5:40:44 am - 4 replies

Author Message

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 to
EmailReceiver=mail1@mysite.com, mail2@mysite.com

Regards Bjørn

Tonny Laursen

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

Bjørn Kaarstein

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.

Regards Bjørn

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

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu