Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.
/ mailsocio_rails Public archive

ActionMailer plugin to use mailsocio to deliver emails

License

Notifications You must be signed in to change notification settings

Anadea/mailsocio_rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mailsocio Rails

Плагин к ActionMailer для использования mailsocio для отправки электронной почты.

Установка

Строчка в Гемфайл:

gem 'mailsocio_rails'

Ну и выполните bundle.

Использование

Сконфигурируйте ActionMailer вот так:

# config/application.rb

config.action_mailer.delivery_method = :mailsocio
config.action_mailer.mailsocio_settings = {
  account_id: '<your account id>',
  api_key: '<your account api key>'
}

Готово!