FEATURE: add Message-ID header to emails

when topic present for email of course
This commit is contained in:
Jeff Atwood 2014-11-26 16:35:56 -08:00
parent 4e735e8aab
commit f918d3e89b

View File

@ -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