# Notification email cannot be the same as reply by email

**URL:** <https://meta.discourse.org/t/notification-email-cannot-be-the-same-as-reply-by-email/28840>\
**Category:** Feature\
**Tags:** email\
**Created:** [5월 15, 2015, 3:34오전 UTC](https://meta.discourse.org/t/notification-email-cannot-be-the-same-as-reply-by-email/28840 "2015-05-15T03:34:14Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
**Post date:** [5월 16, 2015, 6:41오전 UTC](https://meta.discourse.org/t/notification-email-cannot-be-the-same-as-reply-by-email/28840/6 "2015-05-16T06:41:23Z")

</div>

Okay, I can repro this case, and it’s not specific to `.gov` domain.

@jaming is correct, this is because `notification email` setting is same as `reply by email address`.

Let’s say I set `notification email` to “[team@discourse.org](mailto:team@discourse.org)”, now I can’t set `reply by email address` to “team+%{reply\_key}@discourse.org”, it will generate error as per this code:

> <https://github.com/discourse/discourse/blob/17d07a8b9a3db9d963f9d7d5bd73504984ef3188/lib/validators/reply_by_email_address_validator.rb#L11>

So, if the `notification email` is set to “[team@custom.gov](mailto:team@custom.gov)”, then it’s not possible to set “team+%{reply\_key}@custom.gov” as `reply by email address`.

Techincally it’s not a bug, it’s a feature which @zogstrip added via:

[https://github.com/discourse/discourse/commit/f7d2fc05244d20c05e8c747c1e6ea66331d60d05](https://github.com/discourse/discourse/commit/f7d2fc05244d20c05e8c747c1e6ea66331d60d05)

So I would recommend adding another email (perhaps `reply+%{reply_key}@custom.gov`) for `reply by email address` setting.

---

_[View the full topic](https://meta.discourse.org/t/notification-email-cannot-be-the-same-as-reply-by-email/28840)._
