Revert "Add smtp login and password to config"

This reverts commit a47a3ddc7c.
develop
esensar 2018-10-22 19:47:43 +02:00
parent 11600d0cdd
commit fd398dfb7f
1 changed files with 1 additions and 3 deletions

View File

@ -44,15 +44,13 @@ CELERY_RESULT_BACKEND = os.environ['REDIS_URL']
# Mailer config # Mailer config
MAIL_SERVER = os.environ['MAILGUN_SMTP_SERVER'] MAIL_SERVER = os.environ['MAILGUN_SMTP_SERVER']
MAIL_PORT = os.environ['MAILGUN_SMTP_PORT'] MAIL_PORT = os.environ['MAILGUN_SMTP_PORT']
MAIL_USE_TLS = True MAIL_USE_TLS = False
MAIL_USE_SSL = True MAIL_USE_SSL = True
MAIL_DEBUG = False MAIL_DEBUG = False
# gmail authentication # gmail authentication
MAIL_USERNAME = os.environ['MAILGUN_SMTP_LOGIN'] MAIL_USERNAME = os.environ['MAILGUN_SMTP_LOGIN']
MAIL_PASSWORD = os.environ['MAILGUN_SMTP_PASSWORD'] MAIL_PASSWORD = os.environ['MAILGUN_SMTP_PASSWORD']
SMTP_LOGIN = os.environ['MAILGUN_SMTP_LOGIN']
SMTP_PASSWORD = os.environ['MAILGUN_SMTP_PASSWORD']
# mail accounts # mail accounts
MAIL_DEFAULT_SENDER = 'final.iot.backend.mailer@gmail.com' MAIL_DEFAULT_SENDER = 'final.iot.backend.mailer@gmail.com'