In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Richard Kurth) wrote:

>   Way does this not work it sends to the recipient but it will not
>   send to the bcc this is right out of the manual.
> $recipient .= "[EMAIL PROTECTED]";
> $subject = "Hello";
> $message .= "The is the message\n";
> $message .= "--\r\n"; //Signature delimiter
> $message .= "http://northwesthost.com";;
> $headers .= "From: Richard Kurth <[EMAIL PROTECTED]>\n";
> $headers .= "X-Sender: <[EMAIL PROTECTED]>\n"; 
> $headers .= "X-Mailer: NorthWestHost\n";
> $headers .= "X-Priority: 1\n";
> $headers .= "Return-Path: <[EMAIL PROTECTED]>\n";
> $headers .= "Content-Type: text/html; charset=iso-8859-1\n"; // Mime type
> $headers .= "bcc:[EMAIL PROTECTED], [EMAIL PROTECTED]\n"; // 
> BCCs to
> 
> mail($recipient, $subject, $message, $headers);

Try changing all "\n"s to "\r\n" (the RFC calls for a CRLF as the line 
break), the signature delimiter to "-- \r\n" (a space after the two 
dashes), and "bcc:" to "Bcc: " (capitalize the B and add a space after the 
colon).  If it's still not working, try getting rid of all the extra 
headers or putting the bcc before them.

-- 
CC

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to