Sha256: 3d513819f7b12d3cf90fc9c9d0551de8ca14ca3ae6de108d99fd38f8df80dd68

Contents?: true

Size: 265 Bytes

Versions: 11

Compression:

Stored size: 265 Bytes

Contents

class ContactUs::ContactMailer < ActionMailer::Base
  def contact_email(contact)
    @message = contact.message

    mail :from    => contact.email,
         :subject => "Contact Us message from #{contact.email}",
         :to      => ContactUs.mailer_to
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
contact_us-0.1.3 app/mailers/contact_us/contact_mailer.rb
contact_us-0.1.2 app/mailers/contact_us/contact_mailer.rb
contact_us-0.1.1 app/mailers/contact_us/contact_mailer.rb
contact_us-0.1.0 app/mailers/contact_us/contact_mailer.rb
contact_us-0.0.8 app/mailers/contact_us/contact_mailer.rb
contact_us-0.0.7 app/mailers/contact_us/contact_mailer.rb
contact_us-0.0.6 app/mailers/contact_us/contact_mailer.rb
contact_us-0.0.5 app/mailers/contact_us/contact_mailer.rb
contact_us-0.0.4 app/mailers/contact_us/contact_mailer.rb
contact_us-0.0.3 app/mailers/contact_us/contact_mailer.rb
contact_us-0.0.2 app/mailers/contact_us/contact_mailer.rb