# Incoming emails getting rejected with NoBodyDetectedError

**URL:** <https://meta.discourse.org/t/incoming-emails-getting-rejected-with-nobodydetectederror/56998>\
**Category:** Product Support\
**Created:** [06.Февраль.2017 18:04:39 UTC](https://meta.discourse.org/t/incoming-emails-getting-rejected-with-nobodydetectederror/56998 "2017-02-06T18:04:39Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [29.Апрель.2019 22:32:25 UTC](https://meta.discourse.org/t/incoming-emails-getting-rejected-with-nobodydetectederror/56998/9 "2019-04-29T22:32:25Z")

</div>

Well… kinda. I hacked the email receiver to stop it stripping forwarded/reply content, so then the emails “had a body”.

> <https://github.com/nottinghamtec/discourse-tec-email-tweak/blob/master/plugin.rb#L10-L30>

From the PM I sent @zogstrip many years ago, this is what we were trying to do:

1. A member of the public emails us at info@domain.invalid

2. This gets automatically forwarded to infotoforum@forum.domain.invalid

3. Discourse receives the mail, and creates a new topic in the “Info@” category. The “Custom incoming email address” for that category is set to “infotoforum@forum.domain.invalid”. The post is made as the “info@forum.domain.invalid” user, which is effectively a “system” account.

The convoluted forwarding was introduced because we wanted incoming email **without** staged users. We never want the people sending the emails to know that the Discourse forum exists. Judging by the lack of anyone else posting about this on Meta, I think it’s a pretty rare way to use Discourse 🤷‍♂️.

---

_[View the full topic](https://meta.discourse.org/t/incoming-emails-getting-rejected-with-nobodydetectederror/56998)._
