Awesome
Griddler::Sparkpost
This is an adapter that allows Griddler to be used with SparkPost's Inbound Email Relay.
Installation
Add this line to your application's Gemfile:
gem 'griddler'
gem 'griddler-sparkpost'
Usage
thoughtbot has a blog post on how to use Griddler over on their blog: Giant Robots.
That post is specific to Mailgun, so you'll need to update the references from Mailgun to SparkPost.
Example:
# config/initializers/griddler.rb
Griddler.configure do |config|
config.email_service = :sparkpost
end
More Information
Credits
Griddler::Sparkpost is based off of Griddler::Sendgrid by Caleb Thompson.
Griddler was written by Caleb Thompson and Joel Oliveira.
The names and logos for thoughtbot are trademarks of thoughtbot, inc.
License
Griddler is Copyright © 2014 Caleb Thompson, Joel Oliveira and thoughtbot. It is free software, and may be redistributed under the terms specified in the LICENSE file.
Griddler::Sparkpost is Copyright © 2016 Kyle Powers and PrestoDoctor. It is free software, and may be redistributed under the terms specified in the LICENSE file.