我要發這封郵件中UTF8編碼的消息發送電子郵件..如何UTF8
我能爲這個
include 'functions.php';
$name = stripslashes($_POST['name']);
$email = trim($_POST['email']);
$subject = stripslashes($_POST['subject']);
$message = stripslashes($_POST['message']);
$cap=strtoupper($_POST['cap']);
$error = '';
$mail = mail(WEBMASTER_EMAIL,$subject,$message,
"From: ".$name." <".$email.">\r\n"
."Reply-To: ".$email."\r\n"
."X-Mailer: PHP/" . phpversion());
我能在UTF8發送該怎麼辦?
不使用電子郵件()它的使用非常有限,直接與郵件服務器的接口庫之一。 [phpmailer]的[Swiftmailer](http://swiftmailer.org/)(http://phpmailer.worxware.com/) – 2012-12-05 20:59:51