1. add two email attribute to "form class" (id of the attribute "email_one", "email_two") 2. override the template "/content/collectedinfomail/form.tpl" and then add this code
send to first email
{set-block scope=root variable=email_receiver}{$object.data_map.email_one.content}{/set-block}
send to second email
{append-block scope=root variable=email_cc_receivers}{$object.data_map.email_two.content}{/append-block}
<b>Or without class change</b> 1. override the template "/content/collectedinfomail/form.tpl" and then add this code
{set-block scope=root variable=email_receiver}Enter_you_first_email_address@ez.no{/set-block}
send to second email
{append-block scope=root variable=email_cc_receivers}Enter_you_second_email_address@ez.no{/append-block}
The above code doesn't do what Espen was after. I believe you are still sending the exact same email to two different people (using to and CC). But Espen is after a template for each email. So both emails have different contents in it. I'm after the same functionality.
Does anyone know how to do this, apart from writing your own extension.
Cheers
You must be logged in to post messages in this topic!