Why is this not working and how do i fix it
h
Flyingcrabs

So i wanted to email my own account to own account but it is not sending it

You are viewing a single comment. View All
VulcanWM

What error does it show?

Flyingcrabs

Traceback (most recent call last):
File "main.py", line 10, in <module>
server.login(sender, password)
File "/usr/lib/python3.8/smtplib.py", line 743, in login
raise last_exception
File "/usr/lib/python3.8/smtplib.py", line 732, in login
(code, resp) = self.auth(
File "/usr/lib/python3.8/smtplib.py", line 655, 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 11sm11963329ilg.50 - gsmtp') @VulcanWM

VulcanWM

In your google account, have you changed the settings to that you can login in any website with google login with your account? @Flyingcrabs

Flyingcrabs

How do i change that? @VulcanWM

VulcanWM