Emails from comments are not threaded with others from the same case.

The attached patch makes this possible. Tested with Gmail and works well.

CommentFileSizeAuthor
casetracker-email-threading.patch1.29 KBkbahey

Comments

morbus iff’s picture

Could you be more specific? Which email clients failed? Currently, we log the Msg-ID for every email we send. Usually, when a mail client responds to that email, it will put the same Msg-ID in the References field, which mailhandler then reads. The In-Reply-To seems to be related to mails on the client end, not comments on the server end, no?

kbahey’s picture

This has nothing to do with mailhandler at all, and should not affect it.

I am talking about Gmail not grouping all the email updates to the same case together.

With this patch, they are "threaded" into what Gmail calls conversations.

og had the same issue, and I submitted a patch for it, and Moshe committed it. As an aside, og uses $nid-$cid as its message ID, and that works well (not sure about whether they use Mail handler or not).

morbus iff’s picture

Gotcha - I thought you meant threading inside Drupal, not threading inside your mail client. I'll commit this off to 5.x once I finalize its port.

morbus iff’s picture

Status: Needs review » Fixed

Fixed in DRUPAL-5 and will show up in next release.

Anonymous’s picture

Status: Fixed » Closed (fixed)