# No recibes el correo de registro, pero el servidor SMTP funciona bien

**URL:** <https://meta.discourse.org/t/dont-get-registration-mail-but-smtp-server-works-fine/113272>\
**Category:** Self-hosting\
**Created:** [2 Abril, 2019 21:44 UTC](https://meta.discourse.org/t/dont-get-registration-mail-but-smtp-server-works-fine/113272 "2019-04-02T21:44:23Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![IMSth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/imsth/32/135435_2.png) [@IMSth](https://meta.discourse.org/u/IMSth)\
**Post date:** [3 Abril, 2019 21:35 UTC](https://meta.discourse.org/t/dont-get-registration-mail-but-smtp-server-works-fine/113272/6 "2019-04-03T21:35:47Z")

</div>

> [@Corsterix](#):
>
> When I first set up Discourse on one of my sites it went to spam because the email was coming from [forum.domain.com](http://forum.domain.com) instead of [domain.com](http://domain.com), once I fixed that the emails came through fine.

@Corsterix How do you resolve wrong domain ? Uncomment `- exec: rails r "SiteSetting.notification_email='noreply@DOMAINl'"` ?

---

_[View the full topic](https://meta.discourse.org/t/dont-get-registration-mail-but-smtp-server-works-fine/113272)._
