关于Jmail组件的问题?在线等!!!!!
fangj 2003-11-28 12:59:22 系统:win2000,iis5.0,组件:w3JMail41Personal
function smail(mailto,subject,memo)
Dim JMail
Set JMail = Server.CreateObject("JMail.Message")
smtpserver = "smtp.163.com"
smtpuser = "test" '用户名
smtppwd = "test" '密码
'JMail.Silent = true
JMail.Charset = "gb2312"
JMail.ContentType = "text/html"
JMail.Logging = true
JMail.Priority = 3
JMail.From = "***@163.com"
JMail.FromName = "test"
JMail.ReplyTo ="***@163.com"
JMail.AddRecipient(mailto)
JMail.Subject = subject
JMail.Body = memo
'JMail.se
Jmail.MailServerUserName = smtpuser
Jmail.MailServerPassWord = smtppwd
smail = Jmail.Send(smtpserver)
'if isgo then
'RESPONSE.WRITE("提交成功!谢谢你的支持。")
'end if
JMail.Close()
Set JMail = Nothing
end function
tomail="fangj@sinobnet.com"
subject="测试邮件"
memo="测试邮件!"
x=Smail(tomail,subject,memo)
Response.Write "发送完毕"
显示的错误:
jmail.Message 错误 '8000ffff'
The message was undeliverable. All servers failed to receive the message
/email.asp,行30
为什么啊?请帮帮我.急用!