如下代码可以完成表格提交邮件发送,但是无法受到objmail.body的内容,只有objmail.from and objmail.subject的内容?怎么回事?
<%
Dim objMail
Set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.From = "800it@800it.com.cn"
objMail.Subject = "800it反馈单"
objMail.body ="姓名="&request.form("name")&",电话="&request.form("tel")&",Email="&request.form("mail")&",留言="&request.form("content")&""
'you need TO add these lines FOR the mail
'to be sent in HTML format
objMail.BodyFormat = 0
objMail.MailFormat = 0
objMail.To =""&request.form("sendmail")&""
objMail.Body = HTML
objMail.Send
Response.write("您的留言已经发送!")
set objMail = nothing
%>