Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day11 发送邮件时报错:smtplib.SMTPHeloError: (500, b'Error: bad syntax')的解决方法 #5184

Open
Zmoon73 opened this issue Aug 4, 2019 · 0 comments

Comments

@Zmoon73
Copy link
Contributor

Zmoon73 commented Aug 4, 2019

发送邮件出错
因为在issue版块里没找到解决方法,百度、google搜索很久后找到了解决方案,分享给大家。
在“控制版面”中点击“查看网络状态和任务”进入“网络和共享中心”,在“查看活动网络”点击现在使用的网络连接,点击网络连接的【属性】按钮,双击“Internet 协议版本 4(TCP/IPv4)”这一项,再点击【高级】按钮,切换到“DNS”标签,把“此连接的 DNS 后缀”修改为 HOST,邮件就可以成功发送了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant