Mail server fixed
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
3
app.py
3
app.py
@@ -75,6 +75,7 @@ app.config['ID_AUTH0_CLIENT_SECRET'] = Config.ID_AUTH0_CLIENT_SECRET
|
||||
app.config['DOMAIN_AUTH0'] = Config.DOMAIN_AUTH0
|
||||
app.config['ID_TOKEN_USER'] = Config.ID_TOKEN_USER
|
||||
|
||||
app.MAIL_DEBUG = True
|
||||
app.MAIL_SERVER = Config.MAIL_SERVER
|
||||
app.MAIL_PORT = Config.MAIL_PORT
|
||||
app.MAIL_USE_TLS = Config.MAIL_USE_TLS
|
||||
@@ -83,6 +84,7 @@ app.MAIL_USERNAME = Config.MAIL_USERNAME
|
||||
app.MAIL_PASSWORD = Config.MAIL_PASSWORD
|
||||
app.MAIL_DEFAULT_SENDER = Config.MAIL_DEFAULT_SENDER
|
||||
|
||||
app.config.MAIL_DEBUG = True
|
||||
app.config.MAIL_SERVER = Config.MAIL_SERVER
|
||||
app.config.MAIL_PORT = Config.MAIL_PORT
|
||||
app.config.MAIL_USE_TLS = Config.MAIL_USE_TLS
|
||||
@@ -91,6 +93,7 @@ app.config.MAIL_USERNAME = Config.MAIL_USERNAME
|
||||
app.config.MAIL_PASSWORD = Config.MAIL_PASSWORD
|
||||
app.config.MAIL_DEFAULT_SENDER = Config.MAIL_DEFAULT_SENDER
|
||||
|
||||
app.config['MAIL_DEBUG'] = True
|
||||
app.config['MAIL_SERVER'] = Config.MAIL_SERVER
|
||||
app.config['MAIL_PORT'] = Config.MAIL_PORT
|
||||
app.config['MAIL_USE_TLS'] = Config.MAIL_USE_TLS
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -39,8 +39,8 @@ class Config:
|
||||
# id_region_delivery = 1
|
||||
MAIL_SERVER = 'mail.partsltd.co.uk' # 'smtp.gmail.com'
|
||||
MAIL_PORT = 465 # 587
|
||||
MAIL_USE_TLS = False # True
|
||||
MAIL_USE_SSL = False
|
||||
MAIL_USE_TLS = False
|
||||
MAIL_USE_SSL = True
|
||||
MAIL_USERNAME = os.getenv('MAIL_DEFAULT_SENDER')
|
||||
MAIL_PASSWORD = os.getenv('MAIL_PASSWORD')
|
||||
MAIL_DEFAULT_SENDER = os.getenv('MAIL_DEFAULT_SENDER')
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user