用JMail发送邮件报错The message was undeliverable.All servers failed to receive the message

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/10 10:43:50

用JMail发送邮件报错The message was undeliverable.All servers failed to receive the message
用JMail发送邮件报错The message was undeliverable.All servers failed to receive the message

用JMail发送邮件报错The message was undeliverable.All servers failed to receive the message
这个过程就是ASP程序代码调用了JMAIL组件,把要发送的邮件的各种信息通过JMAIL组件发给了MAIL SERVER(邮件服务器,或者说是邮件服务程序,如MDeamon,IMAIL,WinWebMail等),真正向你的目的地发送邮件的是MAIL SERVER.
通常我们遇到的错误是:\'The message was undeliverable. All servers failed to receive the message \',这其实是JMAIL返回的错误,并不是ASP代码产生的,根本原因是MAIL SERVER拒绝了JMAIL的请求.
究其原因,是那些服务器不提供SMTP服务或者没有开启smtp服务;或是在服务器端开启了\'禁止邮件中继服务\'选项,也就是说不在其允许的IP段或指定范围内的空间里的程序是无法使用其SMTP服务的,最终导致\'8000ffff\'错误发生.