I am new to this but I have picked up a lot of stuff.
Now I have a simple question you might be able to help me with. It is using flat files instead of using a database.
Sending emails out to newsletter subscribers.
I know how to send them out, html as well but I would like to keep the emails from showing.
For argument sake, if I send the newsletter out to 50 subscribers, they can see all the emails in the address column.
I want to keep that private for the subscribers.
If I send say 50 bcc emails from say outlook express, each person does not see other email addresses. They do if you use CC though or if you place them all into the $to section.
How do I do that in php? At the moment I have this :
Code: Select all
$nlemail = "me@mysite.com".",";
$to = $nlemail;
$bcc = "her@mysite.com".",";
$bcc .= "him@mysite.com".",";
$bcc .= "them@mysite.com".",";
mail($to, $subject, $message, $headers);
mail($bcc, $subject, $message, $headers);
Thanks for your help
Robert