# Configure EMAIL in devstack

**URL:** <https://discuss.openedx.org/t/configure-email-in-devstack/2834>\
**Category:** Site Operations Help\
**Tags:** how-to\
**Created:** [July 28, 2020, 8:00am UTC](https://discuss.openedx.org/t/configure-email-in-devstack/2834 "2020-07-28T08:00:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pavan.gupta](https://avatars.discourse-cdn.com/v4/letter/p/74df32/32.png) [@pavan.gupta](https://discuss.openedx.org/u/pavan.gupta)\
**Post date:** [July 28, 2020, 8:00am UTC](https://discuss.openedx.org/t/configure-email-in-devstack/2834/1 "2020-07-28T08:00:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Maksim\_Sokolskiy](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/maksim_sokolskiy/32/8303_2.png) [@Maksim\_Sokolskiy](https://discuss.openedx.org/u/Maksim_Sokolskiy)\
**Post date:** [August 5, 2020, 8:01pm UTC](https://discuss.openedx.org/t/configure-email-in-devstack/2834/2 "2020-08-05T20:01:22Z")

</div>

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:

```auto
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.
