Under a previous post the send mail problem was resolved (ISP required SMTP.) However, I can't get the BCC to work, suggestions?!?!?
Here’s the revised portion of the PHP code:
/* Specify your SMTP Server, Port and Valid From Address */
ini_set("SMTP","mail.mydomain.com");
ini_set("smtp_port","25");
ini_set("sendmail_from","contact@mydomain.com");
/* Additional Headers */
$mailheaders = "MIME-Version: 1.0\r\n";
$mailheaders .= "Content-type: text/plain; charset=iso-8859-1\r\n";
$mailheaders .= "From: $sender_name <$sender_email>\r\n";
$mailheaders .= "Reply-To: $sender_email <$sender_email>\r\n";
mail("contact@mydomain.com","Feedback",stripslashes($msg), $mailheaders);
$headers .= "Bcc:MyName<president@mydomain.com>\r\n";
header("Location: http://www.mydomain.com/thankyou.html"); / Redirect browser /
//This is the end of the PHP code
?>