# SMTP auth not working after server added MFA

**URL:** <https://forum.gitea.com/t/smtp-auth-not-working-after-server-added-mfa/4433>\
**Category:** Install/Maintain/Configure\
**Created:** [January 17, 2022, 3:09pm UTC](https://forum.gitea.com/t/smtp-auth-not-working-after-server-added-mfa/4433 "2022-01-17T15:09:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![theopauw](https://avatars.discourse-cdn.com/v4/letter/t/ecc23a/32.png) [@theopauw](https://forum.gitea.com/u/theopauw)\
**Post date:** [January 17, 2022, 3:09pm UTC](https://forum.gitea.com/t/smtp-auth-not-working-after-server-added-mfa/4433/1 "2022-01-17T15:09:08Z")

</div>

Hi,  
I have been running a gitea site for a few years now and our users have been authenticating against Office365/Outlook’s SMTP server as our organisational email is hosted there  
([smtp.office365.com](http://smtp.office365.com)). However our IT has recently forced us to enable Multi Factor Authentication with Office365 and now the logins don’t work anymore.  
I have changed all the users to local users as a workaround but I thought I would just check if there is no way to authenticate to a remote SMTP Server with MFA enabled?

Cheers
