Hi
i am using php3.0.1 on NT4.0 with apache 1.3.9. Our SMTP server is unix. I have configured the mail in php3.ini. It is working fine for one address. if i put more than one email address with "," or " " separation,it is not sending mails. I tried with Cc, it is sending mails to only $To and $cc is not receiving any mail. But it is not giving error.my code is here. Please help me
<?

$To = "vivek@madona.com";
$From = "www@india.hp.com";
$cc = "vivekk@india.hp.com";
$Headers = "From: " . $From . "rn";
$Headers .= "Cc: " . $cc . "rn";
$Headers .= "MIME-Version: 1.0"."rn" ;
$Headers .= "Content-Type: text/plain; charset=iso-8859-1rn";
$Headers .= "Content-Transfer-Encoding: 8bit" . "rn";
$Headres .= "X-Mailer:PHP/".phpversion();
$message = " Test message, please ignore";
$sub = "Test Message, please igniore this mail";
if(mail($To,$sub,$message,$Headers))
print "sent";
else
print "no <br>";
?>