I know that the code to send an email to multiple addresses is:
$to = "ADDRESS1, ADDRESS2 \r\n";
$headers .= "CC: ADDRESS3 \r\n";
$headers .= "BCC: ADDRESS4 \r\n";
And I know that you can add a reply-to address with:
$headers .= "Reply-To: ADDRESS5, ADDRESS6 \r\n";
My question is...what code to use for the reply-to fields so that you can add a CC and BCC. I've tried:
$headers .= "Reply-To: ADDRESS5 \r\n";
$headers .= "Reply-CC: ADDRESS6\r\n";
$headers .= "Reply-BCC: ADDRESS7\r\n";
And I've tried:
$headers .= "Reply-To: ADDRESS5 \r\n";
$headers .= "CC: ADDRESS6\r\n";
$headers .= "BCC: ADDRESS7\r\n";
Nothing's worked so far. Any thoughts?
Eric