Recipients from passed array, Not a recordset on same page...
Added this to Wishlist for Universal Email from forum:
Advanced To: settings only accepts recordsets on the page, Please add passed arrays via $_POST and have it available as the recordsets are...
this way the recipients are singular as the sent email is looped, and not listed as they are now in the "Email_Address" filed and posted to all the emails as a group........ Possible valid feature request??
Hey Guys
I'm wondering if there is a way to send emails to the recipient array, and not have the other array addresses included in every email?
I'm am trying to send a mass email with an [] array passed from another page that holds the recordset,data in checkboxes with the email address data as the values... then using php implode to comma separate the individual addresses in the address field of the form, works great in the form field... only thing is that all the array email addresses are included in all emails.
Is it possible to loop through the array and not include the arrays email addresses in every email (as with recordsets)?
Example email form contains:
mail object---
$RecipArray[$CurIndex][] = "".((isset($_POST["Email_Address"]))?$_POST["Email_Address"]:"") ."";
form---
<input id="Email_Address" name="Email_Address" type="text" value="<?php echo(isset($_POST['send_bulk_email'])?implode(", ",$_POST['send_bulk_email']):""); ?>" class="formTextfield_Large" tabindex="2" onblur="hideServerError('Email_Address_ServerError');"/>
Let me know...
Thanks
Tony