To use Gmail with user and password you need to enable "Insecure apps" in your Gmail account, I don't remember if this setting gives you an specific password different from your normal login or not, but I don't recommend using Gmail as SMTP because it can flag your account as spam and block it, I use zeptomail from Zoho to send transactional emails, it's cheap and less difficult to gain prod access
El jue, 31 de oct de 2024, 10:18 a. m., ALINDA Fortunate <alindafortunate5@gmail.com> escribió:
Hello Team, I am requesting for assistance on how to send email using Django by the Gmail SMTP server, I have set up the app configured the credentials but i am getting this error message, some help.--smtplib.SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted. For more information, go to\n5.7.8 https://support.google.com/mail/?p=BadCredentials a640c23a62f3a-a9e566435c0sm67540266b.162 - 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 django-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAPifpCv-Nezxtvc0H-VRAjoXWK_kF%3DYgqUsRn2i-jObOmfhqmw%40mail.gmail.com.
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 django-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CANfGmWHvr%3Dye6Rp7XKACdYbvOU6hsg1KmKrX%3DnH9dbJ0RTkVBg%40mail.gmail.com.
No comments:
Post a Comment