thoughtbot / griddler-sendgrid

SendGrid adapter for Griddler
MIT License
32 stars 35 forks source link

raw_* content is nil #9

Closed rememberlenny closed 1 month ago

rememberlenny commented 8 years ago

I am running Ruby 2.2.3 and unable to get sendgrid incoming parse to return raw_html information. The only response content I get is "body", but it is stripped of any formatting or HTML.

I believe the API for sendgrid might have changed since this gem was created. If this is correct, then it may need to be updated.

I didnt have this same problem with other services (Mandrill, Mailgun).

sdhull commented 8 years ago

Sometimes raw_html may not be present because not all clients send it. On the other hand, if you have checked Send Raw in Sendgrid Parse options, it will not send any of the documented params and instead send a _raw param, thus completely breaking griddler-sendgrid and griddler.

tl;dr -- don't check "Send Raw" option. It will break all the things.

stefannibrasil commented 1 month ago

Closing this as this library has been deprecated: https://github.com/thoughtbot/griddler-sendgrid/pull/41