Does anyone know how I could get mail() to send an email without showing the recipient addresses?
Would it work to put the addresses into the BCC field of $headers?
Also, how can I insert multiple addresses (from a database)?
The best method is to send it to yourself and BCC the rest.
The mailto will be the same as the reply email basically.
Ok, thank you!
So, will mail() accept comma seperated values for multiple addresses?
Thanks.
Hey, I know this is kind of off topic, but what would be the code to make addresses in the database come out as comma separated other than makeing what puts the addresses into the database put a comma on them? (for example, the script would put in "
[email protected]," instead of "
[email protected]"
I think you could use implode(',' $emails);
where is $emails is a array that contain your emails