Although I'm a php newbie, I'm posting here because the question that I have is fairly specific. I'm using a flash form to send an array of email addresses to php, and what I'd like to do is have the php send an email to all my addresses at once.

I have all the work done on the sendmail script and it works fine. I understand how to send it to multiple people, but the question is this: How can I send mass emails without each person on the list being able to see all the others?

if I CC everyone on the list, anyone can see any other addressee. This ain't cool. Do I have to send these emails one at a time, or is there a way to send 1 email with a list of multiple "protected" (or maybe a better word is "private") addressees? If I can do this, the email will be more professional.

I'm not sure if this is even possible. As of now, actionscript calls my php script once a frame and sends it a single value, until the array of adressees is used up. This is inefficient but it gets the job done. Suggestions?

-andy

    two ways i guess:
    1) just put all the addresses into the bcc, not the to or cc. that way they go to everyone, but noone can see the list of recipients

    2) do the php code that sends the email in a loop so that it generates a unique email for each recipient and cycles through all your email addresses

      awesome, i didn't know what the BCC was for, that should work great! how do I target the BCC in a php-built email?

      mail($ToEmail, $ToSubject, $emailBody, "From: $ToName", "BCC: $memberArray");

      ?? that's my guess. will that work?

      thanks!

        Write a Reply...