-
-
Save adrienTchounkeu/af41ad8426f9d68c84429458c4739e71 to your computer and use it in GitHub Desktop.
Response sent from Mandrill via POST
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"mandrill_events": [ | |
{ | |
"event": "send", | |
"msg": { | |
"ts": 1365109999, | |
"subject": "This an example webhook message", | |
"email": "example.webhook@mandrillapp.com", | |
"sender": "example.sender@mandrillapp.com", | |
"tags": ["webhook-example"], | |
"opens": [], | |
"clicks": [], | |
"state": "sent", | |
"metadata": { | |
"user_id": 111 | |
}, | |
"_id": "exampleaaaaaaaaaaaaaaaaaaaaaaaaa", | |
"_version": "exampleaaaaaaaaaaaaaaa" | |
}, | |
"_id": "exampleaaaaaaaaaaaaaaaaaaaaaaaaa", | |
"ts": 1384954004 | |
}, | |
{ | |
"event": "deferral", | |
"msg": { | |
"ts": 1365109999, | |
"subject": "This an example webhook message", | |
"email": "example.webhook@mandrillapp.com", | |
"sender": "example.sender@mandrillapp.com", | |
"tags": ["webhook-example"], | |
"opens": [], | |
"clicks": [], | |
"state": "deferred", | |
"metadata": { | |
"user_id": 111 | |
}, | |
"_id": "exampleaaaaaaaaaaaaaaaaaaaaaaaaa1", | |
"_version": "exampleaaaaaaaaaaaaaaa", | |
"smtp_events": [ | |
{ | |
"destination_ip": "127.0.0.1", | |
"diag": "451 4.3.5 Temporarily unavailable, try again later.", | |
"source_ip": "127.0.0.1", | |
"ts": 1365111111, | |
"type": "deferred", | |
"size": 0 | |
} | |
] | |
}, | |
"_id": "exampleaaaaaaaaaaaaaaaaaaaaaaaaa1", | |
"ts": 1384954004 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To add reference : This Gist has been borrowed from https://gist.github.com/ramonsmits/7563502