我找不到一种方法来获取与通过 Mandrill 应用程序发送的一封电子邮件相关的所有统计信息?您是否使用 Mandrill api 来获取统计信息?
Alexandru Rada
问问题
2889 次
1 回答
9
我认为在 1 年多之后的这个时候,现在可以通过 Mandrill“消息调用”基于单个消息进行查询,例如https://mandrillapp.com/api/docs/messages.JSON.html#method-info
JSON 请求
{
"key": "example key",
"id": "abc123abc123abc123abc123"
}
JSON 响应
{
"ts": 1365190000,
"_id": "abc123abc123abc123abc123",
"sender": "sender@example.com",
"template": "example-template",
"subject": "example subject",
"email": "recipient.email@example.com",
"tags": [
"password-reset"
],
"opens": 42,
"opens_detail": [
{
"ts": 1365190001,
"ip": "55.55.55.55",
"location": "Georgia, US",
"ua": "Linux/Ubuntu/Chrome/Chrome 28.0.1500.53"
}
],
"clicks": 42,
"clicks_detail": [
{
"ts": 1365190001,
"url": "http://www.example.com",
"ip": "55.55.55.55",
"location": "Georgia, US",
"ua": "Linux/Ubuntu/Chrome/Chrome 28.0.1500.53"
}
],
"state": "sent",
"metadata": {
"user_id": "123",
"website": "www.example.com"
},
"smtp_events": [
{
"ts": 1365190001,
"type": "sent",
"diag": "250 OK"
}
]
}
某人:)...
于 2013-12-10T03:51:22.380 回答