Created
October 3, 2017 03:30
-
-
Save santoshpy/55e200c2ae9f29f6acc2e1b54088ba5c to your computer and use it in GitHub Desktop.
Django Email settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' # For development and test only | |
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' # For Production | |
# Django Eamil Settings for gmail | |
EMAIL_HOST = 'smtp.gmail.com' | |
EMAIL_PORT = 587 | |
EMAIL_HOST_USER = '<user>@gmail.com' # use email adress | |
EMAIL_HOST_PASSWORD = '***********' # use password of your email adress | |
EMAIL_USE_TLS = True | |
#Django Email Settings for zoho | |
EMAIL_HOST = 'smtp.zoho.com' | |
EMAIL_HOST_USER = '<user>@<domain_name>.com' | |
EMAIL_HOST_PASSWORD = '***********' | |
EMAIL_PORT = 465 | |
EMAIL_USE_SSL = True | |
DEFAULT_FROM_EMAIL = '<user>@<domain_name>.com' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment