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 <
[email protected]> 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')
>
> [image: image.png]
>
> --
> ALINDA Fortunate
> Graduate Of Computer Science
> Gulu University
> Passionate about Software Development in Python
> If you can't explain it simply, you don't understand it well enough.
> [email protected] <[email protected]>.
> +256 774339676 / +256 702910041
> Kagadi.
>
> --
> 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 visit
> https://groups.google.com/d/msgid/django-users/CAPifpCv-Nezxtvc0H-VRAjoXWK_kF%3DYgqUsRn2i-jObOmfhqmw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAPifpCv-Nezxtvc0H-VRAjoXWK_kF%3DYgqUsRn2i-jObOmfhqmw%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 visit 
https://groups.google.com/d/msgid/django-users/CANfGmWHvr%3Dye6Rp7XKACdYbvOU6hsg1KmKrX%3DnH9dbJ0RTkVBg%40mail.gmail.com.

Reply via email to