<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gbk"> <title>$subject</title> </head> <body> hi, $toemail<br> $subject<br> $message </body> </html>