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

Temporary fix for empty headers array submitted #40

Open zdraganov opened 8 years ago

zdraganov commented 8 years ago

When there is NDR bounce message, some mail servers are sending empty headers, which cannot be normally parsed from Mandrill servers and the library is breaking because it is expecting headers to be hash rather than array.