Mail server update.

This commit is contained in:
2024-05-01 21:38:52 +01:00
parent 3dbdd8715a
commit cabc7ba804
6 changed files with 36 additions and 6 deletions

View File

@@ -37,8 +37,8 @@ class Config:
"""
# id_currency = 1
# id_region_delivery = 1
MAIL_SERVER = 'localhost' # 'smtp.gmail.com'
MAIL_PORT = 25 # 587
MAIL_SERVER = 'mail.partsltd.co.uk' # 'smtp.gmail.com'
MAIL_PORT = 465 # 587
MAIL_USE_TLS = False # True
MAIL_USE_SSL = False
MAIL_USERNAME = os.getenv('MAIL_DEFAULT_SENDER')