郁闷死我了,兄弟们帮忙看下,JMAIL

BadGuyCyh BadGuyCyh 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
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
...全文
评论 10
收藏 已收藏
分享
返回顶部
BadGuyCyh
ASP 28,401 成员 356,940 内容