Hi, I am trying to configure email for reset password in devstack. Tried modifying the below properties:
lms.yml
EMAIL_HOST
EMAIL_PORT
EMAIL_USE_TLE
and in lms.auth.json
EMAIL_HOST_PASSWORD
EMAIL_HOST_USER
after setting up above properties also, email is being stored into container file directory.
Anyone has come across this type of issue. Please help me
You need to set EMAIL_BACKEND
in you lms/envs/devstack_docker.py
or cos/envs/devstack_docker.py
to the one you want to use.
It can be either django.core.mail.backends.smtp.EmailBackend
or django_ses.SESBackend
.
You fall into this situation because lms/envs/devstack.py
and cms/envs/devstack.py
config rewrites an original backend to the following:
EMAIL_BACKEND = 'django.core.mail.backends.filebased.EmailBackend'
EMAIL_FILE_PATH = '/edx/src/ace_messages/'
In case you don’t use docker for devstack deployment you have to change the EMAIL_BACKEND
in your lms/envs/devstack.py
and `cms/envs/devstack.py.
1 Like