Sha256: 86ebe18b16fb271ac646b52660b8a28f2fc351e149c64051e72af586b09ebc1c

Contents?: true

Size: 298 Bytes

Versions: 46

Compression:

Stored size: 298 Bytes

Contents

class Mailer < ActionMailer::Base
  default :to => APP_CONFIG[:contact_email]
  default :from => APP_CONFIG[:mailer_email]

  def message(message)
    @message = message
    mail(:reply_to => message.email, :subject => "#{message.name} sent you a message from #{APP_CONFIG[:app_name]}.")
  end
end

Version data entries

46 entries across 46 versions & 2 rubygems

Version Path
sbdevcore-0.3.8 app/mailers/mailer.rb
sbdevcore-0.3.7 app/mailers/mailer.rb
sbdevcore-0.3.6 app/mailers/mailer.rb
sbdevcore-0.3.5 app/mailers/mailer.rb
sbdevcore-0.3.4 app/mailers/mailer.rb
sbdevcore-0.3.3 app/mailers/mailer.rb
sbdevcore-0.3.2 app/mailers/mailer.rb
sbdevcore-0.3.1 app/mailers/mailer.rb
sbdevcore-0.3.0 app/mailers/mailer.rb
sbdevcore-0.2.26 app/mailers/mailer.rb
sbdevcore-0.2.25 app/mailers/mailer.rb
sbdevcore-0.2.24 app/mailers/mailer.rb
sbdevcore-0.2.23 app/mailers/mailer.rb
sbdevcore-0.2.22 app/mailers/mailer.rb
sbdevcore-0.2.21 app/mailers/mailer.rb
sbdevcore-0.2.20 app/mailers/mailer.rb
sbdevcore-0.2.19 app/mailers/mailer.rb
sbdevcore-0.2.18 app/mailers/mailer.rb
sbdevcore-0.2.17 app/mailers/mailer.rb
sbdevcore-0.2.16 app/mailers/mailer.rb