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

查看:493
本文介绍了使用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-ID In-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节点API sendTemplate 函数可以设置的选项。但是这不行,因为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,但如果格式不正确,我们将覆盖它。

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天全站免登陆