# SMTP doesnt work 2FA login

**URL:** <https://forums.rocket.chat/t/smtp-doesnt-work-2fa-login/11782>\
**Category:** Community Support\
**Created:** [July 28, 2021, 1:07pm UTC](https://forums.rocket.chat/t/smtp-doesnt-work-2fa-login/11782 "2021-07-28T13:07:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![john.crisp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/john.crisp/32/2711_2.png) [@john.crisp](https://forums.rocket.chat/u/john.crisp)\
**Post date:** [July 28, 2021, 5:18pm UTC](https://forums.rocket.chat/t/smtp-doesnt-work-2fa-login/11782/2 "2021-07-28T17:18:07Z")

</div>

Hi,

Have a look at this. You need to check the docs, stop Rocket.Chat itself so just Mongo is running and then do this.

> [@Reset 2FA settings for user](https://forums.rocket.chat/t/reset-2fa-settings-for-user/1460/3):
>
> How to use your code? where to put that code? Im a newbie ofcourse!! slight_smile and lost my phone. please help.

---

_[View the full topic](https://forums.rocket.chat/t/smtp-doesnt-work-2fa-login/11782)._
