Forums / General / Send email notificiation to several people (simple problem)

Send email notificiation to several people (simple problem)

Author Message

Jens Kultima

Tuesday 06 November 2007 3:57:42 am

This problem is very simple. All I have to do is to find a way to wirte an array. The code is like this:

{*?template charset=utf-8?*}
{set-block scope=root variable=subject}{$collection.attributes[0].content} (från Projektbanken){/set-block}
{set-block scope=root variable=email_receiver}MYEMAIL@DOMAIN.COM{/set-block}
{set-block scope=root variable=email_sender}{$collection.attributes[3].content}{/set-block}
{set-block scope=root variable=redirect_to_node_id}1246{/set-block}
{$collection.attributes[1].content}

All I want to do is to change the MYEMAIL@DOMAIN.COM to 2 emails:
email1@domain.com,email2@domain.com

But all ways I have tried to input this array have failed. What is the correct way to write?

Thank you!
Jens