# Email notifications fail if duplicate headers exist

**URL:** <https://meta.discourse.org/t/email-notifications-fail-if-duplicate-headers-exist/222960>\
**Category:** Bug\
**Created:** [April 2, 2022, 9:33pm UTC](https://meta.discourse.org/t/email-notifications-fail-if-duplicate-headers-exist/222960 "2022-04-02T21:33:09Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)\
**Post date:** [May 11, 2022, 3:47am UTC](https://meta.discourse.org/t/email-notifications-fail-if-duplicate-headers-exist/222960/25 "2022-05-11T03:47:39Z")

</div>

I merged a fix for this today, if we detect a duplicate header we just use the one defined in Discourse core rather than the custom one from the site setting:

[https://github.com/discourse/discourse/pull/16711/](https://github.com/discourse/discourse/pull/16711/)

---

_[View the full topic](https://meta.discourse.org/t/email-notifications-fail-if-duplicate-headers-exist/222960)._
