From 0c4e40b89cfeab5feb9cfa0aecd6f2233134a076 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 19 Jan 2009 18:29:07 +0000 Subject: [PATCH] Use In-Reply-To and References headers to handle replies by email. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2288 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/mail_handler.rb | 25 ++++++++++++++++++--- test/fixtures/mail_handler/ticket_reply.eml | 3 ++- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb index 2f9adec73..f6be1f124 100644 --- a/app/models/mail_handler.rb +++ b/app/models/mail_handler.rb @@ -53,11 +53,22 @@ class MailHandler < ActionMailer::Base private + MESSAGE_ID_RE = %r{^ +In-Reply-To: From: "John Smith" To: References: <485d0ad366c88_d7014663a025f@osiris.tmail> -Subject: Re: [Cookbook - Feature #2] (New) Add ingredients categories +Subject: Re: Add ingredients categories Date: Sat, 21 Jun 2008 18:41:39 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative;