cc or bcc to multiple addresses from dynamic checklist
Hello. I see that there is a thread for sending to checklist but it does not cover how to get dynamic checklist values into an array that can be used to send to multiple addresses.
Any help with this is greatlly appreciated. My input checklist is being created with a do while loop
<?php do { ?>
<p>
<label>
<input type="checkbox" name="recipients[]" value="<?php echo $row_get_email_addresses['email_address']; ?>" checked>
<?php echo $row_get_email_addresses['email_address']; ?></label>
<br>
</p>
<?php } while ($row_get_email_addresses = mysql_fetch_assoc($get_email_addresses)); ?>
I need to have the values put into the array called recipients and use that for the bcc.
I have made some of the changes according to the other thread about multiple addresses and checklist and now I have the email is sent to the main send to address and when I recieve that email, the list of email addresses that are checked show in the copied to section of the email but the emails are not actually sent to those added addresses.
again I would really appreciate any help anyone can give me with this.
Thank you.