得到错误传输错误code是0x80040217,而在Asp.Net发送电子邮件 [英] Getting Error Transport error code was 0x80040217 while Sending Email in Asp.Net
本文介绍了得到错误传输错误code是0x80040217,而在Asp.Net发送电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图发送电子邮件
但我收到此错误。
的消息无法发送到SMTP服务器。传输错误code是0x80040217。服务器响应不可用
有任何想法,这件事请你帮我任何一个
any one having any idea about it please Help me
推荐答案
发现的,你也可以得到这个错误,当Gmail的安全设置不允许从您要使用的地址发送的邮件。我不得不启用通过安全性较低的应用程序有问题访问我的帐户:
Discovered that you can also get this error when Gmail's security settings don't allow messages to be sent from the address you intend to use. I had to enable access for less secure apps for my account in question by:
- 登录到您要使用从Excel发送电子邮件的地址。
- 访问页<一个href=\"https://www.google.com/settings/security/lesssecureapps\">https://www.google.com/settings/security/lesssecureapps
- 单击启用不够安全的应用。
- 点击完成。
这篇关于得到错误传输错误code是0x80040217,而在Asp.Net发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文