I use mail() with $headers and everything works fine. What I would like to do is to replace the x in the $header.="bcc: xxxxxxxxxxx"; with e-mail adresses out of an MYSQL table. Somehow I can get it working.
Who helps, thanks a lot Eric
Maar om nog even terug te komen op het BCC verhaal:
<?
$header = "From: Domein.nl <info@Domein.nl>\n";
$header .= "MIME-Version: 1.0\n";
$header .= "Content-Type: text/html;\n";
$header .= "Content-Transfer-Encoding: 7bit";
$header .="BCC: alle@emailadressen.nl, gescheiden@door.nl, een@komma.nl";
mail("WAT MOET HIER?","Titel!",$bericht,$header);
?>