I'm not even going to say it, you'll see it in my first few words (i'm new to this stuff).
Any way, I am trying to build header information for a mail function. I want to have Cc, Bcc and From headers
Here's how I was going about it, but it wasn't working:
if($name && $email && $note && $referred) {
$headers ='Bcc:info@completeniche.com\r\n';
$headers .='Cc:$email\r\n';
(I'm leaving the $body out here)
mail('info@completeniche.com','Request For Contact',$body,$headers);
The general idea is I want to use the variables in the headers as well as fixed text in some cases. I have had luck using one header at a time, but not more than on (concantinating the headers).
I hope I have given enough info.
Thank you