Sha256: a027e2bf4828dc7d1e206bd501020e239e00f2f5fa0e00c113dca1841dbd30da

Contents?: true

Size: 508 Bytes

Versions: 1

Compression:

Stored size: 508 Bytes

Contents

path = File.join(Rails.root, 'config', 'action_mailer.yml')
options = YAML.load_file(path)[Rails.env]

ActionMailer::Base.delivery_method = Rails.env.test? ? :test : :smtp

ActionMailer::Base.smtp_settings = {
   :host           => options['host'],
   :address        => options['address'],
   :port           => options['port'],
   :domain         => options['domain'],
   :user_name      => options['user_name'],
   :password       => options['password'],
   :authentication => options['authentication']
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
morrisjs-rails-0.4.2.1 vendor/assets/stylesheets/untitled