Hi,
I am having a big problem using the mail() functon with the "cc:" field. Here is my code:
mail($to, $subj, $body,
"From: $from\r\n"
."To: $to\r\n"
."Reply-To: $from\r\n"
."Cc: $cc\r\n"
."X-Mailer: PHP/" . phpversion());
This always generates an error:
Warning: Server Error in c:\apache\htdocs\mail\send.php on line 10
but if I change the 'Cc:' to 'cc:' it call to mail() works but the CC'ed emails are not sent.
Has anyone else seen this and know of a fix/workaround?
(P.S. I'm using Windows)
Thanks in advance,