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

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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