I have used this post to get my emails working
https://www.chronoengine.com/faqs/52-cfv4/cfv4-emails/2603-how-can-i-send-an-email-to-different-addresses.html
but i need to send it to multiple recipients, example on em1
https://www.chronoengine.com/faqs/52-cfv4/cfv4-emails/2603-how-can-i-send-an-email-to-different-addresses.html
but i need to send it to multiple recipients, example on em1
<?php
$recipient = JRequest::getString('recipients', 'em1centurion_campus', 'post');
$emails = array (
'em1' => 'demo@demo.co.za,demo2@demo.co.za,demo3@demo.co.za',
'em2' => 'demo@demo.co.za',
'em3' => 'demo@demo.com' );
$form->data['email_to_use'] = $emails[$recipient];
?>