No commit activity in last 3 years
No release in over 3 years
Add a delivery method for SendinBlue to rails
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 9.0
~> 5.0
~> 4.0
~> 11.1

Runtime

 Project Readme

sendinblue_delivery

Add a delivery method for SendinBlue to rails

Installation

Add this line to your application's Gemfile:

gem 'sendinblue_delivery'

And then execute:

  $ bundle

Or install it yourself as:

$ gem install sendinblue_delivery

Configuration

Add this to your appropriate config/environments/$RAILS_ENV.rb:

ActionMailer::Base.add_delivery_method :sendinbluemail, SendinblueDelivery

ActionMailer::Base.sendinbluemail_settings = {
  url: 'https://api.sendinblue.com/v2.0',
  key: '<your key>',
  timeout: 5
}

ActionMailer::Base.delivery_method = :sendinbluemail

run tests

$ SENDINBLUE_KEY=<my secret key> SENDINBLUE_MAIL=<email> rake test