# 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:** 8

<div class="post-metadata">

**Author:** ![wal](https://avatars.discourse-cdn.com/v4/letter/w/d6d6ee/32.png) [@wal](https://meta.discourse.org/u/wal)\
**Post date:** [July 23, 2024, 8:34pm UTC](https://meta.discourse.org/t/email-does-not-work-net-smtpauthenticationerror/317828/8 "2024-07-23T20:34:16Z")

</div>

oh yeah also when I tested with telnet, I was indeed able to send the email from all of the following addresses

- `mail@discourse.mydomain.com`
- `mail@mydomain.com`
- `mail@mg.mydomain.com`

Not sure which one I am actually supposed to be using? Does it matter?

---

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