selfteaching / selfteaching/selfteaching-python-camp
Day11 作业在运行的时候遇到调用问题
Open
Nobody has claimed this yet.
question
- Dominant language
- Python
- Stars
- 151
- Forks
- 875
- PR merge metrics
- No merged PRs in 30d
Description
File "C:\Users\Administrator\Anaconda3\lib\site-packages\yagmail\sender.py", line 144, in send
self.login()
File "C:\Users\Administrator\Anaconda3\lib\site-packages\yagmail\sender.py", line 243, in login
self._login(self.credentials)
File "C:\Users\Administrator\Anaconda3\lib\site-packages\yagmail\sender.py", line 201, in _login
self.smtp.login(self.user, password)
File "C:\Users\Administrator\Anaconda3\lib\smtplib.py", line 730, in login
raise last_exception
File "C:\Users\Administrator\Anaconda3\lib\smtplib.py", line 721, in login
initial_response_ok=initial_response_ok)
File "C:\Users\Administrator\Anaconda3\lib\smtplib.py", line 642, in auth
raise SMTPAuthenticationError(code, resp)
smtplib.SMTPAuthenticationError: (535, b'Error: authentication failed')
我找到对应地文件,怎么修改呢。
144 self.login()
243 self._login(self.credentials)
。。。。
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
Start with the Day11 assignment and the traceback locations in yagmail/sender.py at lines 144 and 243. Reproduce the send attempt and inspect the SMTP login inputs and account configuration; done means the assignment sends mail without SMTPAuthenticationError 535.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100