switched mail settings from sample to reflect gmail settings

This commit is contained in:
okalintu
2016-12-10 18:21:25 +02:00
parent c7203cb149
commit 40e83ecdcc
+8 -7
View File
@@ -107,14 +107,15 @@ AUTH_PASSWORD_VALIDATORS = [
},
]
#Email
# https://sendgrid.com/docs/Integrate/Frameworks/django.html
EMAIL_HOST = 'smtp.sendgrid.net'
EMAIL_HOST_USER = 'sendgrid_username'
EMAIL_HOST_PASSWORD = 'sendgrid_password'
EMAIL_PORT = 587
# Email settings (tested working with gmail)
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_USE_TLS = True
EMAIL_HOST='smtp.gmail.com'
EMAIL_PORT=587
EMAIL_HOST_USER = '<gmailtunnarisi>@gmail.com'
EMAIL_HOST_PASSWORD = '<gmail_passu>'
DEFAULT_EMAIL_FROM = 'SIK Viestintä <sikviestinta@gmail.com>'
#ReCaptcha
# http://www.yaconiello.com/blog/integrating-google-recaptcha-to-django/