我正在使用Zapier加Mandrill向客户发送交易电子邮件,并希望将这些电子邮件记录到我的Hubspot CRM中的相关客户帐户。
Hubspot支持可以执行此操作的BCC地址,当我直接从Gmail发送BCC电子邮件时,该地址在我的发送域中有效-因此,Hubspot BCC的实际功能有效。
但是,当我通过Mandrill从同一域发送电子邮件时,Hubspot BCC无法正常工作。
[比较Gmail和Zapier / Mandrill生成的地址标头,我可以看到Zapier使用'to'数组的'bcc'类型创建BCC地址,从而导致了BCC的次要'to'地址。 Gmail会生成一个明确的“密件抄送”字段:
示例来自Gmail的由密件抄送提供的地址块
From: Richard Foxworthy <[email protected]>
Date: Sun, 1 Mar 2020 09:24:24 +1100
Message-ID: <CAGDDT9oRrteY8yek0GppMvfBiMiRNZEAZfJ4JvcpavTY_i69XA@mail.gmail.com>
Subject: testing BCC headers for hubspot
To: First_name Second_name <[email protected]>
Content-Type: multipart/alternative; boundary="0000000000004b1468059fbe6b8a"
Bcc: [email protected]
示例BCC版本的Zapier / Mandrill地址块(JSON,可通过Mandrill API检索)
{"from_name":"Vram Name","from_email":"[email protected]","subject":"Subject line goes here","headers":{"Reply-To":"[email protected]","To":"[email protected]"},"to":{"email":"[email protected]","name":""}
这是来自Mandril的API日志的摘录,与其中一封电子邮件有关
{
"key": "Mandrill_key_goes_here",
"template_name": "Mandrill_email_template_name",
"template_content": [
{
"content": "<h1>html content</h1>",
"name": "$main_title"
}
],
"message": {
"from_email": "[email protected]",
"from_name": "Sender Name",
"subject": "Subject line",
"headers": {
"Reply-To": "[email protected]"
},
"to": [
{
"email": "[email protected]"
},
{
"email": "[email protected]",
"type": "bcc"
}
我假设Hubspot记录这些邮件的问题是电子邮件地址标题中缺少密件抄送字段。
寻求更详细了解这些系统的人员的指导:
谢谢
[我找到了解决方案-张贴它,以防将来对其他人有帮助...
在Mandrill端,可以设置一个选项“发送到多个地址时暴露收件人列表”,当存在多个抄送或密件抄送或其他任何内容时,该选项将保留收件人列表。
事实证明,通过打开此选项,Mandrill传递正确的消息头,以便Hubspot可以识别并记录密件抄送。