$to = 'sales@zui88.com';
$subject = "=?UTF-8?B?".base64_encode('網(wǎng)站收到一個(gè)新信息')."?=";
$message = "
用戶姓名:{$_POST['name']}\n
用戶郵箱:{$_POST['email']}\n
用戶電話:{$_POST['contact']}\n
留言內(nèi)容:{$_POST['content']}
";
$headers = 'From: webmaster@zui88.com' . "\r\n" .
'Reply-To: webmaster@zui88.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
$headers .= 'Content-type: text/html; charset=utf-8' . "\r\n";
mail($to, $subject, $message, $headers);
]]>