使用 Mandrill 发送时是否可以指定我自己的 Message-Id 电子邮件标头? [英] Is is possible to specify my own Message-Id email header when sending using Mandrill?

查看:18
本文介绍了使用 Mandrill 发送时是否可以指定我自己的 Message-Id 电子邮件标头?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Mandrill 发送电子邮件,我想自己设置 Message-ID.我现在看到这样的 ID:

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>

我要做的是找出为什么 Gmail 不将 Mandrill 发送的邮件分组到对话中.也许这与 Message-IDIn-Reply-To 标头有关.

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.

我正在使用 Mandrill Node APIsendTemplate 函数有一个设置 headers 的选项.但这不起作用,因为 Mandrill 显然覆盖了我的 ID.

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.

推荐答案

是的,您可以设置自己的,但您需要确保它遵循消息 ID 的适当格式.只要您的 id 看起来有效,我们就不会覆盖它,但如果它的格式不正确,我们会覆盖它.

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.

这篇关于使用 Mandrill 发送时是否可以指定我自己的 Message-Id 电子邮件标头?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆