您的位置:首页 > 大数据 > 人工智能

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

2013-05-11 12:09 344 查看
在实现邮件发送功能模块时,报错:the message was undeliverable. All servers failed to receive the message

翻译:消息无法投递,服务器未接收到消息

原因:用户名身份验证没有写:jmessage.MailServerUserName = ***@163.com;

测试发现:

        jmessage.MailServerUserName = "***@163.com";//用户名身份验证

        jmessage.MailServerPassWord = "pwd***";//发送邮件在服务器中的密码

以上两句中少了任何一句都会报相同错误
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐