On Monday 24 March 2003 21:05, mailing wrote: > I'm new (to the list and php) - be gentle on me! > > I'm working on a script that will allow a client to send an email message > to an email list that is pulled out of a database(mysql). I've got the > script working sort of..., though it needs more work. Essentially, I > pull the e-mails out of a database, put them all into one string, and then > stick that string into the "to" field using php's mail() > function. > In the e-mail the recipient gets, all of the e-mail addresses are viewable > in the "to:" field. > Is there some way to hide those e-mail addresses?
Stick the recipients into the BCc header. See manual or try searching archives for "email header". -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Give a man a fish, and you feed him for a day. Teach a man to fish, and he'll invite himself over for dinner. - Calvin Keegan */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php