# Set Sender/From email address in discourse

**URL:** <https://meta.discourse.org/t/set-sender-from-email-address-in-discourse/111643>\
**Category:** Product Support\
**Created:** [15 maart 2019 om 01:28 UTC](https://meta.discourse.org/t/set-sender-from-email-address-in-discourse/111643 "2019-03-15T01:28:40Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![sebastien](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@sebastien](https://meta.discourse.org/u/sebastien)\
**Post date:** [15 maart 2019 om 01:28 UTC](https://meta.discourse.org/t/set-sender-from-email-address-in-discourse/111643/1 "2019-03-15T01:28:40Z")

</div>

Hi,

We are experiencing an interesting problem with discourse + mailgun.

Our email domain (@something.com) does not match the subdomain we are using in mailgun ([mg.something.com](http://mg.something.com)). As a result all emails are sent as

> [noreply=something.com@mg.something.com](mailto:noreply=something.com@mg.something.com); on behalf of; My Community [noreply@something.com](mailto:noreply@something.com)

This **may** be caused by the Sender not being set by discourse. In the email’s headers I can see that  
`[Sender]: noreply=something.com@mg.something.com`

Both my email notification and email site title are set. Is there a way to force the sender=email notification in Discourse (latest version)?

Thx  
Sebastien

---

_[View the full topic](https://meta.discourse.org/t/set-sender-from-email-address-in-discourse/111643)._
