No commit activity in last 3 years
No release in over 3 years
An adapter for using Elastic Email with Rails and Action Mailer
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 3.2.13
~> 2.14.1
~> 2.1.0

Runtime

>= 3.2.13
 Project Readme

elastic_email_rails

elastic_email_rails is an Action Mailer adapter for using Elastic Email in Rails apps. It uses the Elastic Email HTTP API internally.

Installing

In your Gemfile

gem 'elastic_email_rails'

Usage

To configure your Elastic Email credentials place the following code in the corresponding environment file (development.rb, production.rb...)

config.action_mailer.delivery_method = :elastic_email
config.action_mailer.elastic_email_settings = {
		api_key: '<elastic email api key>',
		username: '<elastic email username>'
}

Now you can send emails using plain Action Mailer:

email = mail from: 'sender@email.com', to: 'receiver@email.com', subject: 'this is an email'

TODO

  • Upload attachments;
  • CC and CCO;
  • Channel.

This gem was based on mailgun_rails.