[Django]-Django-allauth – Send email verification using Gmail account

12👍

Of course you can set your gmail account to send emails. Just set these settings for django:

EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = DEFAULT_FROM_EMAIL = 'gmail account'
EMAIL_HOST_PASSWORD = 'gmail password'

Leave a comment