# Use Delivered-To in email posting feature

**URL:** https://meta.discourse.org/t/use-delivered-to-in-email-posting-feature/28863
**Category:** Feature
**Created:** [15.Май.2015 14:37:46 UTC](https://meta.discourse.org/t/use-delivered-to-in-email-posting-feature/28863 "2015-05-15T14:37:46Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Stelmsind](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@Stelmsind](https://meta.discourse.org/u/Stelmsind)
#### Post date: [15.Май.2015 14:37:46 UTC](https://meta.discourse.org/t/use-delivered-to-in-email-posting-feature/28863/1 "2015-05-15T14:37:46Z")

</div>

Hi,

How difficult would it be to make the “create new topic by email” feature examine the Delivered-To field as well as the To field? I have a situation where I’m trying to manage a transition from a Mailman list and this feature would be very useful for me.

Sam

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [16.Май.2015 02:11:24 UTC](https://meta.discourse.org/t/use-delivered-to-in-email-posting-feature/28863/2 "2015-05-16T02:11:24Z")

</div>

I am not familiar with that field, can you describe it in more detail with some examples?

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [16.Май.2015 02:14:14 UTC](https://meta.discourse.org/t/use-delivered-to-in-email-posting-feature/28863/3 "2015-05-16T02:14:14Z")

</div>

Nice example here:

> **[Trace an email with its full header - Gmail Help](https://support.google.com/mail/answer/29436?hl=en)**
>
> You can check the full header of an email you received from a Gmail account to know where it's from. View & copy the full header of an email Gmail From a browser, open

---

<div class="post-metadata">

### Author: ![Stelmsind](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@Stelmsind](https://meta.discourse.org/u/Stelmsind)
#### Post date: [17.Май.2015 19:42:04 UTC](https://meta.discourse.org/t/use-delivered-to-in-email-posting-feature/28863/4 "2015-05-17T19:42:04Z")

</div>

In a mailman list the To header is set to the list address, not the  
recipient email of the list subscriber (which is placed in Delivered-To).

---

<div class="post-metadata">

### Author: ![Stelmsind](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@Stelmsind](https://meta.discourse.org/u/Stelmsind)
#### Post date: [09.Июль.2015 16:00:26 UTC](https://meta.discourse.org/t/use-delivered-to-in-email-posting-feature/28863/5 "2015-07-09T16:00:26Z")

</div>

So I ended up implementing this myself, by polyfilling Email::Receiver.process()

It’s pretty hacky and quite specific to my use case so I don’t believe it’s worth sharing - as well as looking at Delivered-To and X-Delivered-To it tidies up the email subject line and posts to topics of the same name if they already exist.

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [04.Декабрь.2025 11:35:56 UTC](https://meta.discourse.org/t/use-delivered-to-in-email-posting-feature/28863/6 "2025-12-04T11:35:56Z")

</div>


