# Problem: Login after registration and enroll learner

**URL:** https://discuss.openedx.org/t/problem-login-after-registration-and-enroll-learner/12207
**Category:** Development
**Created:** [January 30, 2024, 5:30am UTC](https://discuss.openedx.org/t/problem-login-after-registration-and-enroll-learner/12207 "2024-01-30T05:30:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Abylai](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@Abylai](https://discuss.openedx.org/u/Abylai)
#### Post date: [January 30, 2024, 5:30am UTC](https://discuss.openedx.org/t/problem-login-after-registration-and-enroll-learner/12207/1 "2024-01-30T05:30:52Z")

</div>

Hello everyone! I have problem and i have to solve it quickly. After user registration, they are not receiving the activation email, so I manually activate them through the admin panel. Additionally, I am unable to enroll students in a course, even after manually activating them (it takes a long time to load and displays ‘there was an error enrolling’). How can I fix this while I’m solving the SMTP issue?

---

<div class="post-metadata">

### Author: ![FatemeKhodayari](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/fatemekhodayari/32/5614_2.png) [@FatemeKhodayari](https://discuss.openedx.org/u/FatemeKhodayari)
#### Post date: [January 30, 2024, 4:16pm UTC](https://discuss.openedx.org/t/problem-login-after-registration-and-enroll-learner/12207/2 "2024-01-30T16:16:21Z")

</div>

Hi. Have you checked the error log? You can do it by running `tutor local logs lms -f --tail 200`

---

<div class="post-metadata">

### Author: ![Abylai](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@Abylai](https://discuss.openedx.org/u/Abylai)
#### Post date: [February 16, 2024, 4:55am UTC](https://discuss.openedx.org/t/problem-login-after-registration-and-enroll-learner/12207/3 "2024-02-16T04:55:45Z")

</div>

> [@FatemeKhodayari](#):
>
> 200

Thanks a lot, but i solve problem smtp and now everything is working. I think it didnt work because when i tried enroll student they didnt receive letter about course enrollment. By the way link that helped me fix smtp

> **[Setup SMTP Email on Open edX - Blog](https://blog.lawrencemcdaniel.com/open-edx-setup-smtp-email/)**
>
> Get an SMTP email solution like Google Gmail integrated with your Open edX instance in less than an hour with this step-by-step how-to guide.
