I\'m trying to create a php script that will handle a mailing list for me using a mySQL database, and I have most of it in place. Unfortunately, I can\'t seem to get the he
$to = 'SendersName@domain.com';
$to .=', ' . $_POST['Femail'];
$subject = 'Contact Us Form';
// message
$message ="
Email title
important message follows
you are being brought this email to be safe.
";
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers
$headers .= 'To: SendersEmailName ' . "\r\n";
$headers .= 'From: YourName ' . "\r\n";
$headers.='X-Mailer: PHP/' . phpversion()."\r\n";
$headers.= "BCC: $emailList";
mail($to, $subject, $message, $headers);