Receiver's Email multiple

2 replies · opened Jan 19, 2023

MmariadisenyowebJan 19, 2023

I need a Receiver's Email multiple
Example:

$toemails = array();

$toemails[] = array(
				'email' => 'demo@demo.es, demo2@demo.es, demo3@demo.es', // Your Email Address
				'name' => 'Promo demo' // Your Name
			);

But it's not work good

SSemicolon WebSTAFFJan 20, 2023

Hello,

Simply find the following code in the include/form.php File:
[ch_pre type="php"]$toemails[] = array(
'email' => 'your-email@website.com', // Your Email Address
'name' => 'Your Name' // Your Name
);[/ch_pre]

and simply add another email duplicating the above lines of code. So the code will look like this:
[ch_pre type="php"]$toemails[] = array(
'email' => 'your-email@website.com', // Your Email Address
'name' => 'Your Name' // Your Name
);

$toemails[] = array(
'email' => 'your-email2@website.com', // Your Email Address
'name' => 'Your Name 2' // Your Name
);[/ch_pre]

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

MmariadisenyowebFeb 2, 2023

it worked!
Thank you!

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard