mail2

$nickname
_____________________
電子信箱:
$email
______________________
信件主題:
$sub
_______________________
信件內容:
$content
_______________________
"; $headers="MIME-Version: 1.0\r\n"; $headers.="Content-type: text/html; charset=utf-8\r\n"; $headers.="From:".mb_encode_mimeheader("$nickname","utf-8")."<$email>\r\n"; mail($to,$subject,$message,$headers); setcookie("mail","sent",time()+60*3); }else if(@$_POST['nickname']!='' && @$_COOKIE['mail']=='sent'){ echo "三分鐘只能寄一次信件"; } ?> 聯絡我們 感謝您! 您的意見已寄出!我們會儘快與您聯繫!