# Discourse connects to the SMTP server but fails to send email through it

**URL:** <https://meta.discourse.org/t/discourse-connects-to-the-smtp-server-but-fails-to-send-email-through-it/174501>\
**Category:** Self-hosting\
**Created:** [December 29, 2020, 2:31pm UTC](https://meta.discourse.org/t/discourse-connects-to-the-smtp-server-but-fails-to-send-email-through-it/174501 "2020-12-29T14:31:36Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [January 17, 2021, 10:17pm UTC](https://meta.discourse.org/t/discourse-connects-to-the-smtp-server-but-fails-to-send-email-through-it/174501/9 "2021-01-17T22:17:13Z")

</div>

My guess is a mismatch between your forum host name and the domain name that the mail server will send for.

---

_[View the full topic](https://meta.discourse.org/t/discourse-connects-to-the-smtp-server-but-fails-to-send-email-through-it/174501)._
