郁闷死我了,兄弟们帮忙看下,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
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
...全文
相关推荐
Jmail 4.3组件下载(jmail.dll 4.3)
Jmail 4.3组件下载 内含jmail.dll 4.3.0.0
jmail 4.5 组件(jmail.dll 4.5.0.0)
jmail 4.5 组件下载 内含jmail.dll 4.5.0.0 内含jmail 4.5使用说明
jmail的dll文件jmail.dll
jmail.dll下载不喜欢安装的可以下这个这侧
各版本JMail组件
jmail免费版本运行的时候会出现this function is not included in this version of jmail. 这个。解决方案是换一个jmail组件,使用4.5版本的组件,JMail需要注册,大家可以根据dll的路径改.bat文件,里面还有不同版本的jmail组件,4.0--4.5都有
jmail4.5 ,jmail.dll 及安装说明
jmail4.5 ,jmail.dll 及安装说明


