使用jQuery fancybox插件打造一个实用的数据传输模态弹出窗体

2020-05-22 17:13:46易采站长站整理

$headers .= “Content-Type: text/html;charset=utf-8 rn”;
$msg = “”;
$msg .= “<h2 style=”font-weight: bold; border-bottom: 1px dotted #ccc;”>你有新的消息</h2>rn”;
$msg .= “<strong>来自:</strong> “.$usermail.”rn”;
$msg .= “<strong>内容:</strong> “.$content.”rn”;
$msg .= “”;
if(@mail($sendto, $subject, $msg, $headers)) {
echo “true”;
} else {
echo “false”;
}

演示