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

Yagmail Not Working #2

Open
BJS611 opened this issue Nov 27, 2020 · 0 comments
Open

Yagmail Not Working #2

BJS611 opened this issue Nov 27, 2020 · 0 comments

Comments

@BJS611
Copy link

BJS611 commented Nov 27, 2020

Traceback (most recent call last):
File "tools.py", line 654, in
menu()
File "tools.py", line 532, in menu
main()
File "tools.py", line 585, in main
yagmail()
File "tools.py", line 219, in yagmail
knf.send(mail,subject,body)
File "C:\Users\T410\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\yagmail\sender.py", line 153, in send
self.login()
File "C:\Users\T410\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\yagmail\sender.py", line 206, in login
self._login(self.credentials)
File "C:\Users\T410\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\yagmail\sender.py", line 225, in _login
self.smtp.login(self.user, password)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1776.0_x64__qbz5n2kfra8p0\lib\smtplib.py", line 734, in login
raise last_exception
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1776.0_x64__qbz5n2kfra8p0\lib\smtplib.py", line 723, in login
(code, resp) = self.auth(
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1776.0_x64__qbz5n2kfra8p0\lib\smtplib.py", line 646, in auth
raise SMTPAuthenticationError(code, resp)
smtplib.SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials o67sm6197843pfb.109 - gsmtp')

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