----- Original Message -----
From: "Oden Odenius" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 1:44 PM
Subject: [PHP] mail() Bcc:


> How can send bcc: with mail()?
>
>
>
> --
> Programmers are tools for convert coffeine into code... (c) Oden

From, CC and BCC are headers to be set in the fourth parameter of the mail()
function.  Headers must be spearated by end-of-line characters.

$headers = "From: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
BCC: [EMAIL PROTECTED]";

mail($to, $subject, $body, $headers);

There are many other headers that you may find useful that are just as easy
to add through the mail() function.

HTH,
Kevin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to