i used the below code and it is now working, but there is a message in mail which is " IPW-AntiSpam: This header is to fight spam. Include with any abuse report. IPW-User: unknown" .
Is any body have idea about IPW?
<?
$headers="MIME-Version: 1.0 \n";
$headers.="From: Sender <senderid@sender.com>\n";
$headers.="X-Sender: <senderid@sender.com>\n";
$headers.="X-Mailer: PHP\n";
$headers.="X-Priority: 1\n";
$headers.="Return-Path:<senderid@sender.com>\n";
$headers.="Content-Type: text/html; charset=iso-8859-1\n";
$recipient1="recipient <recipientid@recipient.com>";
$sub="mail subject ";
$message="
<table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td bgcolor=\"#0000FF\"> </td>
<td align=\"center\" bgcolor=\"#33FF33\">Test Mail</td>
<td bgcolor=\"#CC6633\"> </td>
</tr>
</table>";
if(mail($recipient1,$sub,$message,$headers))
{
print "mail send";
}
?>