string emailaddress = "[email protected]";
string emailbody = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\" /></head><body></body></html>";

ESmtpMail writeemail = new ESmtpMail();

writeemail.AddRecipient(emailaddress); // 收信人email地址
writeemail.From = "[email protected]"; //发信人email地址
writeemail.Subject = "测试"; //标题
writeemail.Body = emailbody; //内容
writeemail.MailDomain = "smtp.126.com"; //smtp服务器
writeemail.MailServerUserName = "xxx"; //smtp服务器用户名
writeemail.MailServerPassWord = "xxx"; //smtp服务器密码
writeemail.Html = true;
writeemail.TextBody = "test"; //开始发送
if(writeemail.Send())
{
Response.Redirect("bbstest.aspx");
}
else
{
Response.Write("<script>alert('发送密码失败!请联系管理员');</script>");
}以上是我写的用ESmtpMail发送HTML格式邮件,邮件是发出去了,但是好象不能正确解析HTML格式。。帮忙看看是什么问题或者给个示例。谢谢!