Added SMTP Auth support

This commit is contained in:
2017-12-22 10:59:15 +01:00
parent 8ca6b4cdb0
commit 054eced7de
2 changed files with 4 additions and 0 deletions

View File

@@ -234,6 +234,8 @@ SUPPORT_ENGLISH = True
# Mail options, see pillar.celery.email_tasks.
SMTP_HOST = 'localhost'
SMTP_PORT = 2525
SMTP_USERNAME = ''
SMTP_PASSWORD = ''
SMTP_TIMEOUT = 30 # timeout in seconds, https://docs.python.org/3/library/smtplib.html#smtplib.SMTP
MAIL_RETRY = 180 # in seconds, delay until trying to send an email again.
MAIL_DEFAULT_FROM_NAME = 'Blender Cloud'