Home

Published

- 1 min read

django gmail smtp

img of django gmail smtp

The solution for this is noted below

django gmail smtp

Solution

   EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_USE_TLS = True
EMAIL_PORT = 587
EMAIL_HOST_USER = 'your_account@gmail.com'
EMAIL_HOST_PASSWORD = 'your accounts password'

Try other methods by searching on the site. That is if this doesn’t work