# Mail error 504 5.7.4 Unrecognized authentication type

**URL:** https://meta.discourse.org/t/mail-error-504-5-7-4-unrecognized-authentication-type/168921
**Category:** Self-hosting
**Created:** [November 1, 2020, 4:10pm UTC](https://meta.discourse.org/t/mail-error-504-5-7-4-unrecognized-authentication-type/168921 "2020-11-01T16:10:04Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![rishabh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rishabh/32/179446_2.png) [@rishabh](https://meta.discourse.org/u/rishabh)
#### Post date: [November 3, 2020, 8:44am UTC](https://meta.discourse.org/t/mail-error-504-5-7-4-unrecognized-authentication-type/168921/3 "2020-11-03T08:44:24Z")

</div>

Have you tried all the steps mentioned here?

> [@Troubleshoot email on a new Discourse install](https://meta.discourse.org/t/troubleshooting-email-on-a-new-discourse-install/16326):
>
> You just installed Discourse via [the install guide](https://github.com/discourse/discourse/blob/main/docs/INSTALL.md), but email doesn’t seem to work. Unfortunately this means you can’t log in as an admin to finalize the install. cry Let’s troubleshootize! Try the doctor woman_health_workerIf you run ./discourse-doctor it will check several ways that your mail configuration might be broken, and offer advice. Try that first. Did you enter email settings correctly? The simplest way is to run ./discourse-setup again. Did you enter everything correctly? B…

---

_[View the full topic](https://meta.discourse.org/t/mail-error-504-5-7-4-unrecognized-authentication-type/168921)._
