i am trying to use bcc so i can see if my pitch to the client is having an effect...but trying this does not seem to work:
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "From: $fname $lname <$email>\nX-Mailer: PHP Automated Mailer";
$headers .= "bcc: $bcc\n";
what have i got wrong?
TIA
any one use BCC wil MAIL() function?
Moderator: General Moderators
does
apply to your php-version?http://www.php.net/manual/en/function.mail.php wrote:The Windows implementation of mail() differs in many ways from the Unix implementation. [...]
Second, the custom headers like From:, Cc:, Bcc: and Date: are not interpreted by the MTA in the first place, but are parsed by PHP. PHP < 4.3 only supported the Cc: header element (and was case-sensitive).