#12002/5/29 8:18:39
各位好。
我在制作一份类似于订单的表单时,使用的ASP代码如下:
<%
Dim objMail
Set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.From = "pengyi520@163.com"
objMail.Subject = "货物订单"
objMail.body ="姓 名=request.form("username")邮政编码=request.form("code")联系地址=request.form("address")联系电话=request.form("tel")传真=request.form("fax")要求=request.form("detail")邮箱="request.form("email")"
'you need TO add these lines FOR the mail
'to be sent in HTML format
objMail.BodyFormat = 0
objMail.MailFormat = 0
objMail.To ="t828@163.com"
objMail.Body = HTML
objMail.Send
Response.write("Mail was Sent")
set objMail = nothing
%>
但在本地试运行时,总提示第6行语名未结束,我不知如何修改。烦请各位帮忙解决!!!