Sorry if this has been covered in the archives, but PHPBuilder's search function is working for me! Anyways:
I am testing a script that I want to BCC multiple people on. Sometimes I can get the first person in the header to receive a bcc or cc but not the rest of them. What is strange is that my main email received shows all the right address listed in the CC: field that your email program may show. But those address never receive it. Here is my code:
<?php
$headers = "From: Robert Cooper\r\n";
$headers .= "Reply-to: someone@robertkcooper.com\r\n";
$headers .= "Bcc: tollerson@someplace.com;greg@hotmail.com\r\n";
mail("tollerson@somewhere.net","Great Ideas","testing",$headers) or die("Cannot send mail");
echo "
<head>
<title>WeitzNet - Great Ideas</title>
</head>
<body>
<?phpYour idea has been submitted, ".$Name."<br>Idea: " . $Comments."
</body>
";
die();
?>
Notice! I have tried both ; and , to separate the list of names and neither works. Thanks!
Tin