# Email does not work; Net::SMTPAuthenticationError

**URL:** <https://meta.discourse.org/t/email-does-not-work-net-smtpauthenticationerror/317828>\
**Category:** Self-hosting\
**Tags:** email\
**Created:** [July 23, 2024, 12:48pm UTC](https://meta.discourse.org/t/email-does-not-work-net-smtpauthenticationerror/317828 "2024-07-23T12:48:44Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [July 23, 2024, 8:34pm UTC](https://meta.discourse.org/t/email-does-not-work-net-smtpauthenticationerror/317828/7 "2024-07-23T20:34:09Z")

</div>

> [@wal](#):
>
> not sure I follow what this means

Remove the line for `DISCOURSE_SMTP_DOMAIN`, you almost definitely don’t need it.

It’s used during SMTP negotiation as the HELO/EHLO domain.

---

_[View the full topic](https://meta.discourse.org/t/email-does-not-work-net-smtpauthenticationerror/317828)._
