if (empty($from) or empty($subject) or empty($content)) {
echo "没有完成填写,请返回";
}
$body="[主题] $subjectn";
$body.="[发件人] $fromn";
$body.=$content;
$deal=mail("[email protected]",$subject,$body,"From:$from");
if ($deal) {echo "寄件成功!";}else{echo "寄件失败www.111com.net!!!";}
?>
|