Hi
I was able to send mail by PHP see this is my HTML code i.e. form
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<head>
<title>Untitled</title>
</head>
<body>
<form action="data.php3" method="post" >
<table width="500" height="">
<tr>
<td><font size="1" face="Arial">First Name :</font></td>
<td><input type="text" name="Firstname" size="12" maxlength="20"></td>
</tr>
<tr>
<td><font size="1" face="Arial">Last Name :</font></td>
<td><input type="text" name="Lastname" size="12" maxlength="20"></td>
</tr>
<tr>
<td><font size="1" face="Arial">E-Mail Address :</font></td>
<td><input type="Text" name="Email" size="12" maxlength="20"></td>
</tr>
<tr>
<td><font size="1" face="Arial">Comment :</font></td>
<td><textarea name="Comment" rows="5" cols="25"></textarea></td>
</tr>
<tr>
<td><input type="Submit"></td>
</tr>
</table>
</form>
</body>
and this is my data.php3 file
<?php
$recipient = "naveen@punelive.com";
$subject = "I did it";
$userdata .= $Firstname. "\n";
$userdata .= $Lastname. "\n";
$userdata .= $Email. "\n";
$userdata .= $Comment. "\n";
$message ="HEllo There";
$header .="From: naveen@nichelive.com\n";
$header .="cc: abc@abc.com\n";
$header .="bcc: abc@hotmail.com, xyz@yahoo.com\n";
mail($recipient,$subject,$userdata,$header);
?>
Now the real problem is the cc email is a pop and bcc is not a pop right...
When i submit the form the email goes to hotmail and yahoo but not in pop3 ..why??
Is there some more code has to be added ..
I am just learning..so please let me know