Sha256: 3e35210705950874f6f1a771acc873ea0ff99f51e38e1d20dbd45aecc10d643d

Contents?: true

Size: 467 Bytes

Versions: 4

Compression:

Stored size: 467 Bytes

Contents

# coding: utf-8
module Sendmailer
  class Engine < ::Rails::Engine
    isolate_namespace Sendmailer
    initializer "sendmailer.config" do |app|
      app.config.action_mailer.delivery_method = :sendmail
      app.config.action_mailer.sendmail_settings = {
        :location => '/usr/sbin/exim4',
        :arguments => '-i'
      }
      app.config.action_mailer.perform_deliveries = true
      app.config.action_mailer.raise_delivery_errors = true
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sendmailer-0.0.12.1 lib/sendmailer/engine.rb
sendmailer-0.0.12 lib/sendmailer/engine.rb
sendmailer-0.0.11 lib/sendmailer/engine.rb
sendmailer-0.0.1 lib/sendmailer/engine.rb