RE: [PHP] BCC'ing emails
| From: | Jason Murray | Date: | Wed, 23 Aug 2000 04:19:21 +0000 |
| Subject: | RE: [PHP] BCC'ing emails | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-13077@lists.php.net to get a copy of this message | ||
> I'm using sendmail() to send a bulk newsletter,
> but I do not want to disclose the recipient
> list (I want to send a Blind Carbon Copy) to
> each individual on the list.
I can't find a sendmail() command, so I assume you mean mail()...
Off the top of my head, this might help:
mail("Jason Murray <jasonm@melbourneit.com.au>", "Test Email", $mailbody,
"Bcc: $list_of_comma_separated_bcc_recipients\n");
I don't know if there's a limit on the size of the Bcc (or any) fields.
PS: Put that To address in the email you send out, and you die. :)
Jason
--
Jason Murray
jasonm@melbourneit.com.au
Web Design Team, Melbourne IT
Don't believe everything you're foretold.