为什么提交表单后,内容看不到?
我用别人的order.asp改了一下,
然后用到自己的网页中:http://www.tb-stainless.com/xiaoshu3.htm
可是,收到的邮件的内容什么都没有,
那位大虾帮帮忙啊。
order.asp内容如下:
<%
Title="在线订单"
ToWho="tbs@tb-stainless.com"
Content="欢迎光临浙江天宝实业有限公司"
call SendMyEmail(Title,ToWho,Content)
'发送邮件
Sub SendMyEmail(Title,ToWho,Content)
Dim msg
Dim email_server,user_name,password,Email_type,send_email
email_server = "mail.tb-stainless.com"
user_name = "tbs@tb-stainless.com"
password = "******"
Email_type = 1
send_email = "浙江天宝在线订单"
Set msg=Server.CreateObject("JMail.Message")
msg.Body = ""
msg.HTMLBody = ""
'---
msg.appendtext(Content)
if user_name<>"" and password<>"" then
msg.MailServerUserName = user_name
msg.MailServerPassword = password
end if
if ToWho<>"" then msg.ReplyTo=ToWho
'--
msg.Logging = True
msg.silent = true
msg.Charset = "so-8859-1"
msg.From = user_name
msg.FromName = send_email
msg.Subject = Title
'--
msg.AddRecipient ToWho
msg.Priority=Email_type
err=msg.Send (email_server)
'---
msg.clear
msg.close
Set msg=nothing
End Sub
%>