RE: [PHP] BCC'ing emails
| From: | Jason Murray | Date: | Wed, 23 Aug 2000 04:27:27 +0000 |
| Subject: | RE: [PHP] BCC'ing emails | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-13079@lists.php.net to get a copy of this message | ||
> Cool, I thought it might have been a header thing... easier
> than looping :)
One can do all kinds of amusing things with the extra header parameter
for mail()... if one were so inclined. I usually add a From: header, so
that the mails don't come from "nobody@mywebserver":
mail("Jason Murray <jasonm@melbourneit.com.au>", "Test Email", $mailbody,
"From: Real Identity <webmaster@shadow.net.au>\nBcc:
$list_of_comma_separated_bcc_recipients\n");
> > PS: Put that To address in the email you send out, and you die. :)
>
> I won't I promise :)
Goooooood :)
Jason