Is is possible to specify my own Message-Id email header when sending using Mandrill?

匆匆过客 提交于 2019-12-02 10:08:15

问题


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.



来源:https://stackoverflow.com/questions/28994873/is-is-possible-to-specify-my-own-message-id-email-header-when-sending-using-mand

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!