How can I add multiple emails to receive the messages from the form?

1 reply · opened Feb 10, 2018

VvullnetsFeb 10, 2018

How can I add multiple emails to receive the messages from the form?

<?php

require_once('phpmailer/PHPMailerAutoload.php');

$toemails = array();

$toemails[] = array(
'email' =>'myemails@gmail.com', // Your Email Address
'name' => 'Your Name' // Your Name
);

// Form Processing Messages

SSemicolon WebSTAFFFeb 14, 2018

Hello,

Simply Copy/paste the following code with a different Name/Email as many times as you like:

$toemails[] = array(
’email’ =>’myemails@gmail.com’, // Your Email Address
‘name’ => ‘Your Name’ // Your Name
);

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.

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