[thelist] sending mail to multiple recipients in php

Jason Morehead jmorehead at alphalincoln.com
Wed Aug 23 16:56:59 CDT 2000


hey all...

i'm working on a script that will allow a client to send a message to 
a mailing list that is pulled out of a database.  i've got the script 
working just fine, though it needs a little tweak here and there. 
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.  however, 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?

jason (who knows this should probably go on a php list, but is sadly 
not signed up to one)

<tip type="php" author="jason morehead">
when working with php scripts and include files, make sure you have 
uploaded all of the current versions of those include files.  you'll 
save yourself plenty of headaches, slaps to the head, and "dohs!".
</tip>
-- 
http://www.alphalincoln.com/
alphagraphics of nebraska - web services
201 n 14th - lincoln, ne 68508 - 402.475.0000





More information about the thelist mailing list