I'm not quite familiar with php mailing, but if BCC is an array I guess you can put the whole 35...
in terms of performance too, BCC would be faster than looping to send 35 mails...
If you use linux, create a program that prints 35 words in one shot, and other that prints the 35 words in a loop... than run the program with the command time before the executable. Something like:
time java File
it will give you:
real 0m1.453s
user 0m0.051s
sys 0m0.009s
(this output was generated when I entered "time java")
hope this is somewhat helpful...
LoL!
It would definately be alot easier on the mail server if you entered them into the BCC. Not to mention more secure, since your inserting them into the header.
Like nunasilva said, it might work to make an array that automatically updates itself when you add a new email address to the list. That way you can just have it copy anything from the array directly to the BCC.
Theres also the option of using flat files. You can create a .txt or .rtf that has all the emails encrypted, and have another .php page that decrypts them and throws them into the BCC. It may take some time, but it'd be more secure and fast.
I thought maybe the mail server had to do the same amount of work of sending out x number of email regardless of how the request was made. Does anyone know? Or does it just send one request out into cyberland and the machines that process email send it to all the BCC's?
It does. But when I receive a bcc, I know that several others are hidden. Which means that i am not the only one to whom the mail is sent. Or else, why would somebody bcc. So there SHOULD be a list. In contrast, if your mail id is in TO, you know all the people in the list, even if they are in bcc. This way, if you receive a TO mail, if gives a "personalised mail" feeling.