将跟踪添加到mandrill send-template

时间:2016-02-12 16:02:58

标签: tracking mandrill

尽管我已经添加了跟踪功能,但是当我拨打messages / info.json时,我的mandrill仍然说我的消息没有打开。

这是我的要求:

{
"key": "mykey",
"template_name": "message",
"template_content": {},
"message": {
    "html": null,
    "text": null,
    "subject": "test",
    "from_email": "info@test.io",
    "from_name": "test",
    "to": [
        {
            "email": "rob.proesmans@test.be",
            "name": "rob",
            "type": "to"
        }
    ],
    "headers": null,
    "important": null,
    "track_opens": true,
    "track_clicks": true, 

等。

当我打电话给/messages/info.json时,

我的mandrill响应

{
"ts": 1455290984,
"_id": "3e5877fc43044841ab505f999b4a5b00",
"state": "sent",
"subject": "test",
"email": "rob.proesmans@redtree.be",
"tags": {},
"opens": 0,
"clicks": 0,
"smtp_events": [
    {
        "ts": 1455290986,
        "type": "sent",
        "diag": "250 2.0.0 OK 5E/A9-30218-21AFDB65",
        "source_ip": "198.2.134.26",
        "destination_ip": "94.143.184.119",
        "size": 23062
    }
],
"resends": {},
"sender": "info@redtree.io",
"template": "pocmessage",
"opens_detail": {},
"clicks_detail": {}

}

5分钟后......打开邮件后仍然没有结果.. 我究竟做错了什么? 谢谢

1 个答案:

答案 0 :(得分:0)

我花了大约2个小时,直到Mandrill知道你的邮件何时开通。