4👍
✅
Would you mind double checking if your environment variables are set correctly? Also, did you enable this feature on your Google account: https://www.google.com/settings/security/lesssecureapps?
Take a look at this answer, as it might help you as well: SMTPAuthenticationError when sending mail using gmail and python
4👍
In my case it was working on my local machine but not on heroku server. I went on this link https://accounts.google.com/DisplayUnlockCaptcha
and clicked on Continue. After that I had to re-login into my gmail account. It started working. Hope it might help someone!
- [Django]-Django User M2M relationship
- [Django]-Django get query execution time
- [Django]-Celery not connecting to redis server
1👍
Feb, 2022 Update:
You need to do 2 things to get over very strong google’s security.
-
Allow less secure apps: ON ↓↓↓
-
Allow access to your Google account: ON (Tap "Continue") ↓↓↓
- [Django]-Django objects being "non subscriptable" leads me to write redundant code
- [Django]-Django Celery – How to start a task with a delay of n – seconds – countdown flag is ignored
- [Django]-How can I install plugin into CkEditor, Django
- [Django]-Alternatives to the default django template system
Source:stackexchange.com