Skip to content

Instantly share code, notes, and snippets.

@arulmr
Last active October 28, 2015 09:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arulmr/f0a3475bfa38dbb83754 to your computer and use it in GitHub Desktop.
Save arulmr/f0a3475bfa38dbb83754 to your computer and use it in GitHub Desktop.
Django mail settings
# EMAIL Server config
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = '587'
EMAIL_HOST_USER = 'example@gmail.com'
EMAIL_HOST_PASSWORD = 'somepassword'
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = 'example@gmail.com'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment