# Email-in replies thread wrongly

**URL:** <https://meta.discourse.org/t/email-in-replies-thread-wrongly/59365>\
**Category:** Bug\
**Created:** [March 17, 2017, 5:34pm UTC](https://meta.discourse.org/t/email-in-replies-thread-wrongly/59365 "2017-03-17T17:34:33Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![LeoMcA](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leomca/32/87233_2.png) [@LeoMcA](https://meta.discourse.org/u/LeoMcA)\
**Post date:** [March 17, 2017, 5:34pm UTC](https://meta.discourse.org/t/email-in-replies-thread-wrongly/59365/1 "2017-03-17T17:34:33Z")

</div>

Frequently (possibly even always), replies by email show up in the web interface as a reply to the wrong post.

Here’s one such example:

 ![](https://global.discourse-cdn.com/meta/original/3X/1/5/15c88f8d1a81b3d456ee1e4a82beb1a5e29607cb.png)

The reply key of the email yousef was attempting to respond to here was: `d3ce04730acfc6ea2343a867dd5f171f`

And (some of) the raw text of that email:

```
Delivered-To: discourse+d3ce04730acfc6ea2343a867dd5f171f@mozilla-community.org
Subject: Re: [Testing] Test post of a conversation
To: Mozilla Discourse
 <discourse+d3ce04730acfc6ea2343a867dd5f171f@mozilla-community.org>
References: <topic/14479@discourse.mozilla-community.org>
 <0100015adc4df3e6-373a7dd3-d6d4-474e-916a-07ea85c7ab3d-000000@email.amazonses.com>
In-Reply-To: <0100015adc4df3e6-373a7dd3-d6d4-474e-916a-07ea85c7ab3d-000000@email.amazonses.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

And this is a response by email.

Thunderbird rules!

On 17/03/17 12:46, GeorgeRoter wrote:
> [george] george <https://discourse.mozilla-community.org/users/george>
> GeorgeRoter <https://discourse.mozilla-community.org/users/george>
> March 17
> 
> george:
> 
> [33] At vero eos et accusamus et iusto odio dignissimos ducimus, qui
> blanditiis praesentium voluptatum deleniti atque corrupti, quos
> dolores et quas molestias excepturi sint, obcaecati cupiditate non
> provident, similique sunt in culpa, qui officia deserunt mollitia
> animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis
> est et expedita distinctio. Nam libero tempore, cum soluta nobis est
> eligendi optio, cumque nihil impedit, quo minus id, quod maxime
> placeat, facere possimus, omnis voluptas assumenda est, omnis dolor
> repellendus. Temporibus autem quibusdam et aut officiis debitis aut
> rerum necessitatibus saepe eveniet, ut et voluptates repudiandae
> sint et molestiae non recusandae. Itaque earum rerum hic tenetur a
> sapiente delectus, ut aut reiciendis voluptatibus maiores
> 
> This is a response to this big block of text using the web interface.
> 
> ------------------------------------------------------------------------
> 
> Visit Topic
> <https://discourse.mozilla-community.org/t/test-post-of-a-conversation/14479/2>
> or reply to this email to respond.
> 

```

And here’s another:

 ![](https://global.discourse-cdn.com/meta/original/3X/d/6/d6f43140a330a237313f1cab9267938c0a80fc8f.png)

With the reply key of the email Yousef was attempting to reply to here being: `eb1cfa58abb6c528c7fd5519577b0d0f`

Again with (some of) the raw email:

```
Delivered-To: discourse+eb1cfa58abb6c528c7fd5519577b0d0f@mozilla-community.org
Subject: Re: [Testing] Test post of a conversation
To: Mozilla Discourse
 <discourse+eb1cfa58abb6c528c7fd5519577b0d0f@mozilla-community.org>
References: <...>
 <topic/14479@discourse.mozilla-community.org>
 <0100015adc5a4fec-69d3459d-059b-40ec-8bd2-29d8da582c94-000000@email.amazonses.com>
In-Reply-To: <0100015adc5a4fec-69d3459d-059b-40ec-8bd2-29d8da582c94-000000@email.amazonses.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

You should do this time

On 17/03/17 12:59, GeorgeRoter wrote:
> [george] george <https://discourse.mozilla-community.org/users/george>
> GeorgeRoter <https://discourse.mozilla-community.org/users/george>
> March 17
> 
> Do I get an email if I reply?
> 
> ------------------------------------------------------------------------
> 
> Visit Topic
> <https://discourse.mozilla-community.org/t/test-post-of-a-conversation/14479/4>
> or reply to this email to respond.
> 
> ------------------------------------------------------------------------
> 
> 
> In Reply To
> 
> [yousef] yousef <https://discourse.mozilla-community.org/users/yousef>
> Yousef Alam <https://discourse.mozilla-community.org/users/yousef> not a
> Community Sysadmin
> March 17
> 
> And this is a response by email. Thunderbird rules!
> 
> ------------------------------------------------------------------------
> 
> Visit Topic
> <https://discourse.mozilla-community.org/t/test-post-of-a-conversation/14479/4>
> or reply to this email to respond.
> 

```

Any ideas why this is happening?

---

_[View the full topic](https://meta.discourse.org/t/email-in-replies-thread-wrongly/59365)._
