# Tutor Email not sending

**URL:** <https://discuss.openedx.org/t/tutor-email-not-sending/7806>\
**Category:** Tutor Help\
**Tags:** tutor\
**Created:** [July 13, 2022, 1:51pm UTC](https://discuss.openedx.org/t/tutor-email-not-sending/7806 "2022-07-13T13:51:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![cigisebastine](https://avatars.discourse-cdn.com/v4/letter/c/7c8e57/32.png) [@cigisebastine](https://discuss.openedx.org/u/cigisebastine)\
**Post date:** [July 13, 2022, 1:51pm UTC](https://discuss.openedx.org/t/tutor-email-not-sending/7806/1 "2022-07-13T13:51:12Z")

</div>

Hi  
Open edX Tutor development mode is working fine in ubuntu 20 machine. But on the registration of new user, email is not sending . Can anyone give me suggestions to fix the problem.Sign in is also possible without activation in development mode. Admin side is also working fine. gmail smtp tutor local command will send test email properly, but in registration, it will not send email. Can suggest me solutions to fix the mailing problem.  
Thanks in advance  
Cigi

---

<div class="post-metadata">

**Author:** ![twlichty](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/twlichty/32/3653_2.png) [@twlichty](https://discuss.openedx.org/u/twlichty)\
**Post date:** [July 13, 2022, 2:06pm UTC](https://discuss.openedx.org/t/tutor-email-not-sending/7806/2 "2022-07-13T14:06:19Z")

</div>

I believe that the development mode uses a file based EmailBackend. So the emails are stored on the file system rather than being sent. Check the EMAIL\_BACKEND setting.

```auto
tutor dev run cms ./manage.py lms shell

Python 3.8.6 (default, Jun 6 2022, 11:21:13) 
Type 'copyright', 'credits' or 'license' for more information
IPython 7.27.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: from django.conf import settings

In [2]: settings.EMAIL_BACKEND
Out[2]: 'django.core.mail.backends.filebased.EmailBackend'

```

---

<div class="post-metadata">

**Author:** ![cigisebastine](https://avatars.discourse-cdn.com/v4/letter/c/7c8e57/32.png) [@cigisebastine](https://discuss.openedx.org/u/cigisebastine)\
**Post date:** [July 13, 2022, 2:26pm UTC](https://discuss.openedx.org/t/tutor-email-not-sending/7806/3 "2022-07-13T14:26:27Z")

</div>

Thanks Twlichty  
Yes , it is file based.  
Is it working fine in production environment.  
can you suggest me also regarding this mail sending

---

<div class="post-metadata">

**Author:** ![twlichty](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/twlichty/32/3653_2.png) [@twlichty](https://discuss.openedx.org/u/twlichty)\
**Post date:** [July 13, 2022, 3:13pm UTC](https://discuss.openedx.org/t/tutor-email-not-sending/7806/4 "2022-07-13T15:13:05Z")

</div>

I believe that you can set this in the config.yml file (NOTE: I have not tested this):

```auto
EMAIL_BACKEND: django.core.mail.backends.smtp.EmailBackend

```

The run `tutor config save` and rebuild your images.

---

<div class="post-metadata">

**Author:** ![cigisebastine](https://avatars.discourse-cdn.com/v4/letter/c/7c8e57/32.png) [@cigisebastine](https://discuss.openedx.org/u/cigisebastine)\
**Post date:** [July 14, 2022, 6:20am UTC](https://discuss.openedx.org/t/tutor-email-not-sending/7806/5 "2022-07-14T06:20:35Z")

</div>

Have updated config yml file, and checked again, but not sending email from tutor dev version, is it working in production, can you suggest other options

---

<div class="post-metadata">

**Author:** ![ghassan](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/ghassan/32/2779_2.png) [@ghassan](https://discuss.openedx.org/u/ghassan)\
**Post date:** [July 14, 2022, 7:29am UTC](https://discuss.openedx.org/t/tutor-email-not-sending/7806/6 "2022-07-14T07:29:07Z")

</div>

Can you track/send the logs the moment you make an event which require an email to be sent.

---

<div class="post-metadata">

**Author:** ![cigisebastine](https://avatars.discourse-cdn.com/v4/letter/c/7c8e57/32.png) [@cigisebastine](https://discuss.openedx.org/u/cigisebastine)\
**Post date:** [July 14, 2022, 9:31am UTC](https://discuss.openedx.org/t/tutor-email-not-sending/7806/7 "2022-07-14T09:31:18Z")

</div>

Not at all making any separate event, but on registration and forgot password submission, not receiving any email. We can login without activating the user and the staff account is disabled by default in admin side.

---

<div class="post-metadata">

**Author:** ![ghassan](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/ghassan/32/2779_2.png) [@ghassan](https://discuss.openedx.org/u/ghassan)\
**Post date:** [July 14, 2022, 9:43am UTC](https://discuss.openedx.org/t/tutor-email-not-sending/7806/8 "2022-07-14T09:43:51Z")

</div>

What I mean is what are the logs? So when you try to reset password, at this point can you share the logs…

---

<div class="post-metadata">

**Author:** ![Andres.Aulasneo](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/andres.aulasneo/32/984_2.png) [@Andres.Aulasneo](https://discuss.openedx.org/u/Andres.Aulasneo)\
**Post date:** [May 16, 2023, 6:43pm UTC](https://discuss.openedx.org/t/tutor-email-not-sending/7806/9 "2023-05-16T18:43:41Z")

</div>

You have to set this at the end of `env/apps/openedx/settings/lms/development.py` (or make a tutor plugin to patch the file).

```python
EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"

```

It won’t work in `config.yml`.
