Sha256: 7681fb5f698dc217de2a8a63b7a8384061908832829945d5164d0963c5acdadf

Contents?: true

Size: 563 Bytes

Versions: 1

Compression:

Stored size: 563 Bytes

Contents

require 'development_mail_interceptor'
ActionMailer::Base.smtp_settings = {
  :address              => APP.mail.address,
  :port                 => APP.mail.port,
  :domain               => APP.mail.domain,
  :user_name            => APP.mail.user_name,
  :password             => APP.mail.password,
  :authenication        => APP.mail.authenication,
  :enable_starttls_auto => APP.mail.enable_starttls_auto
}

ActionMailer::Base.default_url_options[:host] = APP.domain
ActionMailer::Base.register_interceptor DevelopmentMailInterceptor if Rails.env.development?

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
laces-0.1.0 templates/config/initializers/setup_mail.rb