note 4156 deleted from mail by ronabop
| From: | ronabop@php.net | Date: | Wed, 11 Oct 2000 05:27:21 +0000 |
| Subject: | note 4156 deleted from mail by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6368@lists.php.net to get a copy of this message | ||
You can do a blind carbon copy (Bcc). Its the same syntax as in sendmail:
<PRE>if (mail("MailingList@$SERVER_NAME", trim($subject),
> trim($message), "From:
> maillist@$SERVER_NAMEnReply-To: maillist@$SERVER_NAMEnErrors-To:
> maillistErrors@$SERVER_NAMEnBcc: $customerEmailsnX-Mailer: PHP/" .
> phpversion())) { </PRE>
What the person receiving the mail will see in the To: field is maillist@SERVER, but it will send it
to everyone in the comma delimited list called $customerEmails