views:

291

answers:

1

Duplicate of http://stackoverflow.com/questions/372449/header-in-gmail-for-thread-hinting

... when providing the same subject line doesn't work?

I'd like to send 2 emails and make them appear in one conversation. Sadly, the second one always starts a new conversation. How to avoid this?

Both mails are sent directly to [email protected]

Both have almost the same headers and the same UTF-8 encoded subjects:

Delivered-To: [email protected]
Received: by ...
Return-Path: ...
Received: ...
Received-SPF: pass ...
Authentication-Results: mx.google.com; spf=pass ...
Received: from mm_www by ...
To: [email protected]
Subject: =?UTF-8?...=?=
From: [email protected]
Content-Type: text/plain; charset=UTF-8; format=flowed
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Mailer: PHP
Message-Id: ... (Different for both messages. Should I add my own id?)
Date: ...

Any clues?

+1  A: 

Yes, the message ID is what's important here. The client uses it to determine flow.

Cody Brocious
No, Message-ID doesn't have anything to do with it, except when you make the second message you should put the first one's Message-ID in the "In-Reply-To" header.
Paul Tomblin
My mistake, I read a quick summary of a document and got the wrong impression. This should be unaccepted.
Cody Brocious