Hi, I have a problem with the mail() function.
$sender="sendtest@mytest.com;
$cc_recipient="cctest@mytest.com";
$recipient="totest@mytest.com";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: ".$sender\r\n";
$headers .= "To: ".$recipient\r\n";
$headers .= "Cc: ".$cc_recipient\r\n";
$contenttype = "Content-Type: text/html\r\n";
$mailresult = mail($recipient, $subject, $message, $headers);
The Cc never works in my php mail() function.
I have tried several different ways to write the $mailresult= ...
every time everything else is working but not Cc.
What is wrong?
Thanks!