Open melnikovlb opened 1 year ago
Hey! Did you check that SMTP access was enabled, shown here? https://shawk.readthedocs.io/en/latest/Configuring%20Gmail.html You might also have success using a Google App password, like that page suggests too. It's been a long time since I've worked with shawk myself, but these steps is where I would suggest starting if you haven't already
Traceback (most recent call last): File "C:\Users\Lev\Desktop\fish.py", line 5, in
client = shawk.Client(user, password)
File "C:\Users\Lev\AppData\Roaming\Python\Python39\site-packages\shawk\Client.py", line 43, in init
self.smtp.login(str(user), str(pwd))
File "C:\Program Files\Python39\lib\smtplib.py", line 734, in login
raise last_exception
File "C:\Program Files\Python39\lib\smtplib.py", line 723, in login
(code, resp) = self.auth(
File "C:\Program Files\Python39\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 f8-20020a2e3808000000b002ba15c272e8sm1712843lja.71 - gsmtp')
The password is correct, but it says its wrong