bcc emails
Posted: Wed Mar 25, 2009 9:52 am
Hi there,
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 :
If i send the mail using $bcc , it sends an mail to all three in this case but each of them can see all three emails when it arrives in their mail client. How can I stop that, so that they can only see their own email? Is this possible using just a flat file? Do I need to place a certain code in there?
Thanks for your help
Robert
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