jmail发送邮件问题
<%
Set msg = Server.CreateObject("JMail.Message")
msg.silent = true
msg.Logging = true
msg.Charset = "gb2312"
msg.MailServerUserName = "sonic1818@126.com" ''输入smtp服务器验证登陆名 (邮局中任何一个用户的Email地址)
msg.MailServerPassword = "*******" ''输入smtp服务器验证密码 (用户Email帐号对应的密码)
msg.From ="sonic18@126.com" ' Request.Form("email") ''发件人Email
msg.FromName = "小灰" 'Request.Form("name") ''发件人姓名
msg.AddRecipient "wfch18@163.com" ''收件人Email
msg.Subject = "信件主题" 'Request.Form("subject") ''信件主题
msg.Body = "正文" 'Request.Form("body") ''正文
'msg.addattachment(server.mappath("new.txt"))
msg.Send ("smtp.126.com") ''smtp服务器地址(企业邮局地址)
set msg = nothing
response.write("发送成功!")
%>
运行后,显示“发送成功”
但是到wfch18@126.com 没有发现。(两个小时还是没有?)
大家看看看看是什么问题?我已经安装了jmail组件。