Skip to content

Username and Password not accepted #3

Description

@gmankab
Traceback (most recent call last):
  File "/home/gmanka/proj/test/my_email.py", line 5, in <module>
    mail.login(
  File "/home/gmanka/.local/lib/python3.11/site-packages/gmail/gmail.py", line 40, in login
    server.login(self.gmail_id, self._password) 
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/smtplib.py", line 750, in login
    raise last_exception
  File "/usr/lib64/python3.11/smtplib.py", line 739, in login
    (code, resp) = self.auth(
                   ^^^^^^^^^^
  File "/usr/lib64/python3.11/smtplib.py", line 662, 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.g
oogle.com/mail/?p=BadCredentials w29-20020a05651204dd00b004fb744ccb83sm2504271lfq.298 - gsmtp')

i provided correct username and password

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions