selfteaching / selfteaching/selfteaching-python-camp

Day11 作业在运行的时候遇到调用问题

Open
#1,066 3 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.