I have a simple newsletter application written in PHP. It works roughly in the following step:
- Get all users' email address from a table and store em in an array
- Glue em all using "," (implode function)
- send the news using mail function
Now, since the email is sent to multiple recipients at once, each of them will be able to see the email addresses of others (of course, in TO field).
Hence, if I am one of the recipients, I'll be able to know the list of email addresses that receive this newsletter too!
How can I prevent this from happening?