mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
FEATURE: add Message-ID header to emails
when topic present for email of course
This commit is contained in:
parent
4e735e8aab
commit
f918d3e89b
@ -67,6 +67,8 @@ module Email
|
||||
email_log.topic_id = topic_id
|
||||
|
||||
topic_identifier = "<topic/#{topic_id}@#{host}>"
|
||||
post_identifier = "<topic/#{topic_id}/#{post_id}@#{host}>"
|
||||
@message.header['Message-ID'] = post_identifier
|
||||
@message.header['In-Reply-To'] = topic_identifier
|
||||
@message.header['References'] = topic_identifier
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user