Dear Vishesh, You can use SMTP login with 2FA. I've also built many applications using SMTP
On Wed, May 17, 2023, 19:39 Vishesh Mangla <[email protected]> wrote: > You can't use SMTP with Google. > You need to use oauth through Google cloud platform. Actually there is one > way to use SMTP with Google to login through third party apps. Check out my > stories on medium. I had written one for a solution. > > On Wed, 17 May, 2023, 19:36 Vishesh Mangla, <[email protected]> > wrote: > >> Are you logging through Gmail? >> >> On Wed, 17 May, 2023, 19:35 Chelsea Fan, <[email protected]> >> wrote: >> >>> I deleted all passwords and thhen created new password but nothig was >>> happen >>> >>> On Wed, May 17, 2023 at 6:54 PM Lakshyaraj Dash < >>> [email protected]> wrote: >>> >>>> 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 >>>> <https://groups.google.com/d/msgid/django-users/CAF7qQgBwYUz8HaRizz_4AVU4rwNcYUX8v1Au%2BWN-UNqHdc1LdQ%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/CAJwZnddw2dpYE35Ww_5W%2BUCQiDvdTzZ1B7ojNry50aBkH-efzA%40mail.gmail.com >>> <https://groups.google.com/d/msgid/django-users/CAJwZnddw2dpYE35Ww_5W%2BUCQiDvdTzZ1B7ojNry50aBkH-efzA%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/CACaE8x4165he-ofirdmyqtc-BksB18dEcKWebnzU2j2h6%3Dhymg%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CACaE8x4165he-ofirdmyqtc-BksB18dEcKWebnzU2j2h6%3Dhymg%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/CAF7qQgCP-98mov9cR6t7Gxdxdr4s1VHPjHUYmHJa9wJV2enM%3DQ%40mail.gmail.com.

