Sha256: 6d04e10f29e395114c99249803f9b2d49da591a2cdfa78e6905b5716bc4c6dec

Contents?: true

Size: 408 Bytes

Versions: 12

Compression:

Stored size: 408 Bytes

Contents

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

    mail :from    => (ContactUs.mailer_from || @contact.email),
         :reply_to => @contact.email,
         :subject => (ContactUs.require_subject ? @contact.subject : t('contact_us.contact_mailer.contact_email.subject', :email => @contact.email)),
         :to      => ContactUs.mailer_to
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
contact_us-1.0.1 app/mailers/contact_us/contact_mailer.rb
contact_us-1.0.0 app/mailers/contact_us/contact_mailer.rb
contact_us-0.5.4 app/mailers/contact_us/contact_mailer.rb
contact_us-0.5.3 app/mailers/contact_us/contact_mailer.rb
contact_us-0.5.2 app/mailers/contact_us/contact_mailer.rb
contact_us-0.5.1 app/mailers/contact_us/contact_mailer.rb
contact_us-0.5.0 app/mailers/contact_us/contact_mailer.rb
contact_us-0.4.0 app/mailers/contact_us/contact_mailer.rb
contact_us_website-0.4.4.beta app/mailers/contact_us/contact_mailer.rb
contact_us-0.4.0.beta app/mailers/contact_us/contact_mailer.rb
contact_us-0.3.0 app/mailers/contact_us/contact_mailer.rb
contact_us-0.2.1 app/mailers/contact_us/contact_mailer.rb