First verify if the email through which the app password was created is
same or different. If different then it will not work.
OR
Please recreate a new app and copy the password again and enter.

Thanks and Regards
Lakshyaraj Dash

On Wed, May 17, 2023, 19:17 Chelsea Fan <[email protected]>
wrote:

> how can I solve this? I enabled 2fa then created app password but it does
> not work.
> 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
> ev21-20020a17090729d500b00965b416585bsm12337451ejc.118 - gsmtp')
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJwZndce5fV-BuwnLUTrU73e%3DvQ_QbArGoyf6qSnQr4wyxHQOw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAJwZndce5fV-BuwnLUTrU73e%3DvQ_QbArGoyf6qSnQr4wyxHQOw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAF7qQgBwYUz8HaRizz_4AVU4rwNcYUX8v1Au%2BWN-UNqHdc1LdQ%40mail.gmail.com.

Reply via email to