Мой BCC в php mail скрипт не работает, любезно помогите
Пожалуйста, помогите, мой BCC не работает. Что я здесь не так делаю? Спасибо!
$to = "recepient@email.com";
$subject = "A message came in from the Website:";
$message ='{$message}';
$headers = "MIME-Version: 1.0\r \n";
$headers .= "Content-type: text/plain; charset=iso-8859-1\r \n";
$headers .= "From: $name <$email>\r\n";
$headers .= 'Bcc: myemail@email.com' . " \r\n"; //<- this part is not working :(
mail($to, $subject, $message, $headers);
1 ответ
Решение