1c2965703d
* Add mandrill webhook. * Store the id of the msg as part of event. Signed-off-by: Cyril Duez <cyril@stormz.me> Signed-off-by: François de Metz <francois@stormz.me> * Decode body to get the mandrill_events. Signed-off-by: Cyril Duez <cyril@stormz.me> Signed-off-by: François de Metz <francois@stormz.me> * Handle HEAD request. Signed-off-by: Cyril Duez <cyril@stormz.me> Signed-off-by: François de Metz <francois@stormz.me> * Add the README. Signed-off-by: Cyril Duez <cyril@stormz.me> Signed-off-by: François de Metz <francois@stormz.me> * Add mandrill_webhooks to the README. Signed-off-by: Cyril Duez <cyril@stormz.me> Signed-off-by: François de Metz <francois@stormz.me> * Update changelog. Signed-off-by: Cyril Duez <cyril@stormz.me> Signed-off-by: François de Metz <francois@stormz.me> * Run gofmt. Signed-off-by: Cyril Duez <cyril@stormz.me> Signed-off-by: François de Metz <francois@stormz.me> |
||
---|---|---|
.. | ||
README.md | ||
mandrill_webhooks.go | ||
mandrill_webhooks_events.go | ||
mandrill_webhooks_events_json_test.go | ||
mandrill_webhooks_test.go |
README.md
mandrill webhook
You should configure your Mandrill's Webhooks to point at the webhooks
service. To do this go to mandrillapp.com/
and click Settings > Webhooks
. In the resulting page, click on Add a Webhook
, select all events, and set the URL
to http://<my_ip>:1619/mandrill
, and click on Create Webhook
.
Events
See the webhook doc.
All events for logs the original timestamp, the event name and the unique identifier of the message that generated the event.
Tags:
- 'event' =
event.event
string
Fields:
- 'id' =
event._id
string