Re: mail() & Bcc
| From: | Tomasz Abramowicz | Date: | Wed, 04 Apr 2001 14:58:42 +0000 |
| Subject: | Re: mail() & Bcc | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-6496@lists.php.net to get a copy of this message | ||
tnx,
it works now.
the solution:
$to = "t@spin.it, t@proximaweb.net, proxima@interware.it";
$headers = "To: t@spin.it\n";
$headers .= "Bcc: t@proximaweb.net, proxima@interware.it\n";
$headers .= "From: newsletter@morositas.it\n";
mail( $to, $subject, $body, $headers );
t.
> >You have to include *all* address in $to variable, including those
> appearing in
> >'Bcc:'. The mail server will take care of hiding those addresses.
>
> Are you sure about this? And if so, exactly how do you do it. AFAIK
sending
> BCC headers is simply broken in the Windows version of PHP.
>
> Cheers
> --
> Phil Driscoll
> Dial Solutions
> +44 (0)113 294 5112
> http://www.dialsolutions.com
> http://www.dtonline.org
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>