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

Add an images method to EventDecorator #26

Closed lime closed 9 years ago

lime commented 9 years ago

Mandrill differentiates between attachments and images in inbound events. Both use the exact same format, but are provided as two separate objects: http://help.mandrill.com/entries/22092308-What-is-the-format-of-inbound-email-webhooks-

Sample images are CC0 from Gratisography and Pixabay.

tardate commented 9 years ago

@lime thanks for the contribution! Getting better coverage of the standard message structures now..