Re: Bcc with the mail command
| From: | lallous | Date: | Wed, 31 Jul 2002 10:33:49 +0000 |
| Subject: | Re: Bcc with the mail command | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-110483@lists.php.net to get a copy of this message | ||
Yes, the header can contain this:
$mailheader="Bcc: xyz@host.com\r\nTo: visible@host.com";
Elias,
"Carlos Fernando Scheidecker Antunes" <nando@antunes.eti.br> wrote in
message news:012301c23874$982a5c70$93505ad1@Nando0...
Hello all,
Just a question about PHP mail comand.
Usually I have something like this:
if (mail($to,$Subject,$Body,$MailHeaders)) {
return 1;
}
else {
return 0;
}
Is there any way to use a BCC instead of to?
I would like that the message sent did not have the address of the person it
is sending it to.
Any ideas or suggestions?
Thank you,
Carlos Fernando.