# Maneira robusta de determinar a URL do fórum em um e-mail?

**URL:** <https://meta.discourse.org/t/robust-way-to-determine-forum-url-in-a-mail/113996>\
**Category:** Development\
**Created:** [Abril 10, 2019, 3:46pm UTC](https://meta.discourse.org/t/robust-way-to-determine-forum-url-in-a-mail/113996 "2019-04-10T15:46:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![distfp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/distfp/32/134853_2.png) [@distfp](https://meta.discourse.org/u/distfp)\
**Post date:** [Abril 25, 2019, 3:11pm UTC](https://meta.discourse.org/t/robust-way-to-determine-forum-url-in-a-mail/113996/4 "2019-04-25T15:11:59Z")

</div>

Thanks for your reply.

Unfortunately, the value of the `List-ID` header is not a reliable way  
to determine that an e-mail originates from a Discourse-powered forum:

- The CommonMark forums ([http://talk.commonmark.org](http://talk.commonmark.org)) have List-ID:  
\<[extensions.talk.commonmark.org](http://extensions.talk.commonmark.org)\>

- The Swift forums ([https://forums.swift.org](https://forums.swift.org)) don’t have a List-ID  
header (not in their “activity summary” e-mails, at least)

I can’t even do search for occurrences of the “discourse” string in the  
headers (which wouldn’t be pretty), since it may not appear at all, as  
is the case for the CommonMark forums.

---

_[View the full topic](https://meta.discourse.org/t/robust-way-to-determine-forum-url-in-a-mail/113996)._
