Skip to content

Commit cb5f1a4

Browse files
authored
fix: change default mail settings (#334)
- Changed mail port to 587 - Changed TLS value to True and removed SSL value (default is False)
1 parent 9dd18f3 commit cb5f1a4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lms/lmsweb/config.py.example

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ CONFIRMATION_TIME = 3600
1616

1717
# MAIL CONFIGURATION
1818
MAIL_SERVER = 'smtp.gmail.com'
19-
MAIL_PORT = 465
20-
MAIL_USE_SSL = True
21-
MAIL_USE_TLS = False
19+
MAIL_PORT = 587
20+
MAIL_USE_TLS = True
2221
MAIL_USERNAME = 'username@gmail.com'
2322
MAIL_PASSWORD = 'password'
2423
MAIL_DEFAULT_SENDER = 'username@gmail.com'

0 commit comments

Comments
 (0)