Re: BCC'ing emails
| From: | Justin French | Date: | Wed, 23 Aug 2000 04:27:36 +0000 |
| Subject: | Re: BCC'ing emails | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13078@lists.php.net to get a copy of this message | ||
Jason Murray wrote:
> > 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()...
eek, yep that's the one :)
> 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.
Cool, I thought it might have been a header thing... easier than looping :)
> PS: Put that To address in the email you send out, and you die. :)
I won't I promise :)
Thanks heaps.
Justin French