Is is possible to specify my own Message-Id email

2020-04-28 08:21发布

问题:

I am sending emails using Mandrill and I want to set the Message-ID myself. I see now an ID like this:

Message-Id: <30152892.20150311183809.55008b919f0c49.69649774@mail132-29.atl131.mandrillapp.com>

What I am trying to do is to find out why Gmail does not group messages sent from Mandrill into conversations. Maybe this has to do with the Message-ID and In-Reply-To headers.

I am using the Mandrill Node API and the sendTemplate function has an option to set headers. But this is not working because Mandrill apparently overwrites my ID.

回答1:

Yes, you can set your own, but you will want to be sure that it follows the appropriate format for a message id. We won't override your id as long as it appears to be valid, but if it's not formatted correctly, we'll overwrite it.