Hi, I have this code that I was wondering if it is possible to put a bcc in the reply back?
It is important that there is a bcc when the message is replied to. Thank you for help.
$header = "Return-Path: ".$fromemail."\r\n";
$header .= "From: ".$fromname." <".$fromemail.">\r\n";
$header .= "bcc: ".$bcc."\r\n";
$header .= "Content-Type: text/html;";
$mail_body = '
'. $_POST[name] . ' has sent a question for the '. $_POST[department] .' committee. On behalf of Region 15, <br>
please review the question below and share your thoughts with '. $_POST[name] . '.<br><br>
Name: '. $_POST[name] . '<br>
eMail: '. $_POST[email] . '<br>
Phone Number: '. $_POST[phone] . '<br>
Details: '. $_POST[notes] . '<br>
IP Address: '. $_SERVER[REMOTE_ADDR] .'--This has been logged on the server so we can monitor the questions asked.'// returns IP.
mail ($mailuser, 'Region 15 Committee', $mail_body, $header);