Skip to content

Instantly share code, notes, and snippets.

@darthwade
Created August 15, 2014 14:05
Show Gist options
  • Save darthwade/26fea92eaa0826fd338f to your computer and use it in GitHub Desktop.
Save darthwade/26fea92eaa0826fd338f to your computer and use it in GitHub Desktop.
Django Gmail SMTP configuration
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = '{username}@gmail.com'
EMAIL_HOST_PASSWORD = '{password}'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = '{username}@gmail.com'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment