selfteaching / selfteaching/selfteaching-python-camp
Day11 发送邮件时报错:smtplib.SMTPHeloError: (500, b'Error: bad syntax')的解决方法
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 151
- Forks
- 875
- PR merge metrics
- No merged PRs in 30d
Description

因为在issue版块里没找到解决方法,百度、google搜索很久后找到了解决方案,分享给大家。
在“控制版面”中点击“查看网络状态和任务”进入“网络和共享中心”,在“查看活动网络”点击现在使用的网络连接,点击网络连接的【属性】按钮,双击“Internet 协议版本 4(TCP/IPv4)”这一项,再点击【高级】按钮,切换到“DNS”标签,把“此连接的 DNS 后缀”修改为 HOST,邮件就可以成功发送了。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue contains a Chinese report and workaround for smtplib.SMTPHeloError involving Windows DNS settings, but names no repository file, test, or requested change. First determine whether this belongs in the project documentation and where troubleshooting material should live; done would require an agreed documentation target and a verified example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100