Hello everyone I tried to set up the smtp ( gmail or hotmail ) service but it does not work
when I click reset my password button It waits and after a while I get the server error
here are my configuration
in cms/envs/common.py
and lms/envs/common.py
I have
EMAIL_BACKEND = ‘django.core.mail.backends.smtp.EmailBackend’
EMAIL_HOST = ‘smtp-mail.outlook.com’
EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_HOST_USER = ‘myemail’
EMAIL_HOST_PASSWORD = ‘my pass’
DEFAULT_FROM_EMAIL = ‘myemail’
SERVER_EMAIL = ‘my email’
and in
lms/envs/aws.py
EMAIL_HOST = ENV_TOKENS.get(‘EMAIL_HOST’, ‘smtp-mail.outlook.com’)
EMAIL_PORT = ENV_TOKENS.get(‘EMAIL_PORT’, 587)
EMAIL_USE_TLS = ENV_TOKENS.get(‘EMAIL_USE_TLS’, True) # django default is False
EMAIL_HOST_USER = AUTH_TOKENS.get(‘EMAIL_HOST_USER’, myemail’)
EMAIL_HOST_PASSWORD = AUTH_TOKENS.get(‘EMAIL_HOST_PASSWORD’, 'mypass)
and same thing with the json and yml files
and I tried with gmail , same result , it did not work
Any Idea?
Thanks