我在寄送邮局邮件时,会发现这一错误。
Error Is:- 头盔中未发现任何接收地址
Please help me out
这里是法典
/军法典从这里开始。
$to = navruk@gmail.com;
$subject = $_POST[ txtsub ];
$messgae = $_POST[ txtmessage ];
$signature = $_POST[ txtsignature ];
$redirect = "thanks.php";
$error = "error.php";
$body ="<table width= 700 align= center cellpadding= 0 cellspacing= 0 border= 0 >
<tr>
<td valign= top >
$messgae <br>
</td>
</tr>
<tr>
<td valign= top >
$signature <br>
</td>
</tr>
</table>";
$from = "Aakrutisolutions<info@aakrutisolutions.com>";
$headers = "From: $from
";
$headers .= MIME-Version: 1.0 . "
";
$headers .= "Content-type: text/html;charset=iso-8859-1
";
$headers .= "Content-Transfer-Encoding: 8bit
";
$headers .= "X-Priority: 1
";
$headers .= "X-MSMail-Priority: High
";
$headers .= "X-Mailer: Just My Server
";
$headers .= "".$body."
";
if(mail($to, $subject, $message, $headers))
{
?>
<script language="javascript">
location.href= bulkmail.php?sts=mailsent ;
</script>
<?php
}
else
{
?>
<script language="javascript">
location.href= bulkmail.php?sts=mailnotsent ;
</script>
<?php
}
//My code ends here