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
--
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...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAPifpCv-Nezxtvc0H-VRAjoXWK_kF%3DYgqUsRn2i-jObOmfhqmw%40mail.gmail.com.
--
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')
--
Thanks so much Team, it has finally worked, I created a secure app and it worked perfectly. Thank you I am humbled for you guidance.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAMg_NacgeLe6m_O3DbwEsFHMuC41pZ0bkQ%2BVb%3DJqoahEUvHU8A%40mail.gmail.com.
![]() | |
On 31 Oct 2024, at 12:59 PM, ALINDA Fortunate <alindafo...@gmail.com> wrote:
Thanks so much Team, it has finally worked, I created a secure app and it worked perfectly. Thank you I am humbled for you guidance.
+256774339676
"If you want to live a happy life, tie it to a goal, not to people or things."
A graduate of Bachelors Degree of Science in Computer Science of Gulu University.
@FortunateAlinda
Passionate about Python Development
And Computer related Dynamics
On Thu, Oct 31, 2024, 17:47 Sang <sang....@gmail.com> wrote:
I assume you need to enable IMAP and POP settings. I haven't tried it for a while, this is for paid gsuite workspace emails https://support.google.com/a/answer/9003945?hl=enHave you configured it the setting for your Gmail to use third party apps??
On Thu, Oct 31, 2024, 18:48 ALINDA Fortunate <alindafo...@gmail.com> wrote:
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.png>--ALINDA FortunateGraduate Of Computer ScienceGulu UniversityPassionate about Software Development in PythonIf you can't explain it simply, you don't understand it well enough.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 django-users...@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...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAMg_NacgeLe6m_O3DbwEsFHMuC41pZ0bkQ%2BVb%3DJqoahEUvHU8A%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...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAPifpCuB9g4fSWhsOZeqYS7PO4UPSBmELbgPAeNTry8LijNVrw%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAPifpCuB9g4fSWhsOZeqYS7PO4UPSBmELbgPAeNTry8LijNVrw%40mail.gmail.com.
Hello friends I am using it for development and learning purposes.
I had earlier on used SendGrid on a production environment.
For now I am on my way mastering Django and I appreciate the feedback from each one of you.
When I cross over to production I will be leveraging on some recommendations from the team.
Thank you all.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CACj%3Dw3f%3D8ka3dhBxRHrEPfxmp1xtkwPot0nwmPdBtzQDD5%3Di6A%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...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/6abf4d53-9d81-4841-9e64-ae6d65e66cb8n%40googlegroups.com.