evendis / mandrill-rails

Webhook processing and event decoration to make using Mandrill with Rails just that much easier
MIT License
288 stars 36 forks source link

Replace from_email with sender #23

Closed MathijsK93 closed 9 years ago

MathijsK93 commented 9 years ago

According to this documentation: http://help.mandrill.com/entries/58303976-Message-Event-Webhook-format

The 'from_email' is no longer supported at Mandrill.

I replaced the 'from_email' with 'sender'

tardate commented 9 years ago

Thanks for the P/R!

It's actually a problem with (lack of) standardisation across Mandrill events.

That decorator method was originally written for inbound mesages. And it still seems to be correct for that!

I'll merge this in with either||or handling so it can be used for inbound and other webhooks

MathijsK93 commented 9 years ago

:+1: