Allow EMAIL_USE_SSL to be turned on
LA's mailhost uses implicit-SSL rather than explicit-SSL (STARTTLS) so we need this available as an option
This commit is contained in:
parent
3c31249759
commit
3810f02904
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ EMAIL_PORT = os.environ.get('EMAIL_PORT', 25)
|
|||
EMAIL_HOST_USER = os.environ.get('EMAIL_HOST_USER', None)
|
||||
EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD', None)
|
||||
DEFAULT_FROM_EMAIL = os.environ.get('DEFAULT_FROM_EMAIL', 'webmaster@localhost')
|
||||
EMAIL_USE_TLS = True
|
||||
EMAIL_USE_TLS = os.environ.get('EMAIL_USE_TLS', True)
|
||||
EMAIL_USE_SSL = os.environ.get('EMAIL_USE_SSL', False)
|
||||
|
||||
SECRET_KEY = os.environ.get('DJANGO_SECRET_KEY', None)
|
||||
|
||||
|
|
Loading…
Reference in a new issue