php代码
$to = 'phplovers@example.com'; $subject = "=?UTF-8?B?".base64_encode('邮件标题')."?="; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=utf-8' . "\r\n"; // Additional headers $headers .= 'To: Xinple 'phplovers@example.com>' . "\r\n"; $headers .= 'From: Admin admin@example.com>' . "\r\n"; $headers .= 'Reply-To: Xinple 'phplovers@example>' . "\r\n"; mail($to, $subject, $message, $headers);