BadGuyCyh 2005年03月22日
郁闷死我了,兄弟们帮忙看下,JMAIL
jmail.Message 错误 '8000ffff'

The message was undeliverable. All servers failed to receive the message

/sendmail.asp,行 19


这个错误提示是什么原因啊?怎么解决?

-----------------------源码----------------------------------
Function sendEmail(email,topic,mailbody)
on error resume next
dim JMail
Set JMail=Server.CreateObject("JMail.Message")
'JMail.silent=true
JMail.Logging=True
JMail.Charset="gb2312"
JMail.MailServerUserName = "帐号"
JMail.MailServerPassword = "密码"
JMail.ContentType = "text/html"
JMail.Priority = 1
JMail.From= "test@163.com"
JMail.FromName = "坏小子"
JMail.AddRecipient email
JMail.Subject=topic
JMail.Body=mailbody
JMail.Send ("mail.163.com")
Set JMail=nothing
sendEmail=True
If err then sendEmail=False
End Function

If sendEmail("badguycyh@hotmail.com","标题","测试") = False then
Response.Write "失败"
Else
Response.Write "成功!"
End If
...全文
108 点赞 收藏 10
写回复
10 条回复

还没有回复,快来抢沙发~

发动态
发帖子
ASP
创建于2007-09-28

1.9w+

社区成员

35.7w+

社区内容

ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区公告
暂无公告