forked from 3wordchant/capsul-flask
hotfix support MAIL_USE_SSL
This commit is contained in:
parent
74d77224f7
commit
47cdb0c7e6
@ -57,6 +57,7 @@ app.config.from_mapping(
|
|||||||
MAIL_SERVER=os.environ.get("MAIL_SERVER", default=""),
|
MAIL_SERVER=os.environ.get("MAIL_SERVER", default=""),
|
||||||
MAIL_PORT=os.environ.get("MAIL_PORT", default="465"),
|
MAIL_PORT=os.environ.get("MAIL_PORT", default="465"),
|
||||||
MAIL_USE_TLS=os.environ.get("MAIL_USE_TLS", default="True").lower() in ['true', '1', 't', 'y', 'yes'],
|
MAIL_USE_TLS=os.environ.get("MAIL_USE_TLS", default="True").lower() in ['true', '1', 't', 'y', 'yes'],
|
||||||
|
MAIL_USE_SSL=os.environ.get("MAIL_USE_SSL", default="True").lower() in ['true', '1', 't', 'y', 'yes'],
|
||||||
MAIL_USERNAME=os.environ.get("MAIL_USERNAME", default=""),
|
MAIL_USERNAME=os.environ.get("MAIL_USERNAME", default=""),
|
||||||
MAIL_PASSWORD=os.environ.get("MAIL_PASSWORD", default=""),
|
MAIL_PASSWORD=os.environ.get("MAIL_PASSWORD", default=""),
|
||||||
MAIL_DEFAULT_SENDER=os.environ.get("MAIL_DEFAULT_SENDER", default="no-reply@capsul.org"),
|
MAIL_DEFAULT_SENDER=os.environ.get("MAIL_DEFAULT_SENDER", default="no-reply@capsul.org"),
|
||||||
|
Loading…
Reference in New Issue
Block a user