Low commit activity in last 3 years
No release in over a year
An Action Mailer delivery method for SendCloud email service.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.10
>= 10.0
>= 0

Runtime

 Project Readme

sendcloud-mailer

Build Status Coverage Status

An Action Mailer delivery method for SendCloud email service.

Installation

Add this line to your application's Gemfile:

gem 'sendcloud-mailer'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sendcloud-mailer

Usage

Set up delivery method and SendCloud settings in you rails config, eg. config/environments/production.rb

config.action_mailer.delivery_method = :sendcloud
config.action_mailer.sendcloud_settings = {
  api_user: 'USER',
  api_key: 'KEY'
}

If you use SMTP, you can add this interecptor to fix the problem that SendCloud does not accept tag.

ActionMailer::Base.register_interceptor(SendcloudMailer::Interceptor)

Notice

This gem is to send email by using SendCloud API, but the API can only support single attachment.

License

The gem is available as open source under the terms of the MIT License.

Contact

The project's website is located at https://github.com/emn178/sendcloud-mailer
Author: Chen, Yi-Cyuan (emn178@gmail.com)