This commit is contained in:
Emmanuel Viennet 2021-09-13 10:06:25 +02:00
parent 704e0d1055
commit 1e6c16ab31

View File

@ -170,6 +170,7 @@ def create_app(config_class=DevConfig):
mailhost=(app.config["MAIL_SERVER"], app.config["MAIL_PORT"]), mailhost=(app.config["MAIL_SERVER"], app.config["MAIL_PORT"]),
fromaddr="no-reply@" + app.config["MAIL_SERVER"], fromaddr="no-reply@" + app.config["MAIL_SERVER"],
toaddrs=["exception@scodoc.org"], toaddrs=["exception@scodoc.org"],
subject="ScoDoc Exception", # unused see ScoSMTPHandler
credentials=auth, credentials=auth,
secure=secure, secure=secure,
) )