# Set up mail-receiver, but now site won't send any emails?

**URL:** <https://meta.discourse.org/t/set-up-mail-receiver-but-now-site-wont-send-any-emails/283817>\
**Category:** Self-hosting\
**Tags:** email, mail-receiver\
**Created:** [September 25, 2023, 10:05am UTC](https://meta.discourse.org/t/set-up-mail-receiver-but-now-site-wont-send-any-emails/283817 "2023-09-25T10:05:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Simon\_Manning](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon_manning/32/198596_2.png) [@Simon\_Manning](https://meta.discourse.org/u/Simon_Manning)\
**Post date:** [September 25, 2023, 2:59pm UTC](https://meta.discourse.org/t/set-up-mail-receiver-but-now-site-wont-send-any-emails/283817/2 "2023-09-25T14:59:56Z")

</div>

The mail receiver is independent of Discourse and email sending, it just acts as a simple email server configured only to receive emails, using the Discourse API to push those emails in to Discourse.

The only thing I can think of in setting it up that might affect sending is setting `reply by email address`, though that should just set `Reply-To` on the outbound emails and not affect the sender address.

Just to confirm, it sounds like you have these (among the rest) in `app.yml`:

```plaintext
DISCOURSE_SMTP_USER_NAME: admin@tasat.org
DISCOURSE_NOTIFICATION_EMAIL: admin@tasat.org

```

And this in `reply by email address`:

```plaintext
replies+%{reply_key}@forum.tasat.org

```

Is that right?

If so, do email notifications that don’t accept replies still work? I believe the email verification is an example of that, so you could try creating an account and see if that email is sent successfully.

With that arrangement, what should happen for emails that can accept replies is that the sent email uses:  
`From: admin@tasat.org` (also sender address)  
`Reply-To: replies+abc123@forum.tasat.org`

Typically Reply-To is not treated as part of the sender information, it just provides a default To address to use when people reply, but perhaps Hostinger do treat it as such. You might be able to add a sending alias for `replies@forum.tasat.org`.

---

_[View the full topic](https://meta.discourse.org/t/set-up-mail-receiver-but-now-site-wont-send-any-emails/283817)._
