**Mandrill, Postmark:** Normalize soft-bounce webhook

events to event_type 'bounced' (rather than 'deferred').

Fixes #56
This commit is contained in:
medmunds
2017-03-16 15:30:44 -07:00
parent 68c7f6ccf3
commit 23bbc3284f
2 changed files with 4 additions and 4 deletions

View File

@@ -81,7 +81,7 @@ class MandrillTrackingWebhookView(MandrillBaseWebhookView):
'send': EventType.SENT,
'deferral': EventType.DEFERRED,
'hard_bounce': EventType.BOUNCED,
'soft_bounce': EventType.DEFERRED,
'soft_bounce': EventType.BOUNCED,
'open': EventType.OPENED,
'click': EventType.CLICKED,
'spam': EventType.COMPLAINED,