RE: [PHP] Hiding Recipients

From: Date: Thu, 10 Aug 2000 02:36:09 +0000
Subject: RE: [PHP] Hiding Recipients
Groups: php.general 
Request: Send a blank email to php-general+get-11037@lists.php.net to get a copy of this message
You're probably looking for the BCC: header. Do this: $headers = 'From: "Your name" <your.email@somewhere.com>'; $headers .= "\nBcc: "; foreach ($to_addresses as $address) { $headers .= "$address, "; } substr_replace($headers, "", -2); // get rid of trailing ", " $failure = mail("Recipients.Not.Disclosed@gautier.nextvision.net", $subject, $message, $headers); --Bruce Bruce Christensen Intel Corporation brucex.r.christensen@intel.com -----Original Message----- From: r a n d y [mailto:iduh_2000@yahoo.com] Sent: Wednesday, August 09, 2000 7:14 PM To: [php] Subject: [PHP] Hiding Recipients howdy ya'll! I have a script that pulls e-mail addresses from a flat file, then sends an email to whoever is in that list. Everything works fine but I would like to hide the recipients from people so they can't snag emails from the list. Anyone know how to do this? I know my email program can do it, but how would I do it using PHP? I thought it might be using mail headers but it doesn't work. I have: $mailheaders = "To: Recipients Not Disclosed\n"; when I get the mail...the headers say: To: blah@blah.com, queer@blah.com <- the real addresses Subject: Testicles X-POP3-Rcpt: r From: Randy <me@youknow.com> To: Recipients.Not.Disclosed@gautier.nextvision.net <- weird shit Cc: rsesser@troikawebdesign.com any help at all would be genuinely appreciated randy ______________________________________________ http://www.randys.org http://www.iduh.com http://www.digifont.com For-pay Internet distributed processing. http://www.ProcessTree.com/?sponsor=11087 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#11037) next »