Sha256: a8dd0befd7bff6d819f851162a392bcdb1018ea47e585bd47eac8499570fc92f

Contents?: true

Size: 617 Bytes

Versions: 13

Compression:

Stored size: 617 Bytes

Contents

class ReceptionMailer < ActionMailer::Base
  default from: "#{Setting.first.try(:site_name)} <#{Setting.first.contact_email}>"

  def verification_email(user)
    @user = user
    mail(to: @user.email, subject: "Email validation for #{Setting.first.try(:site_name)}")
  end

  def password_creation_verification_email(user)
    @user = user
    mail(to: @user.email, subject: "Password creation confirmation for #{Setting.first.try(:site_name)}")
  end

  def new_password_request_email(user)
    @user = user
    mail(to: @user.email, subject: "New Password Request for #{Setting.first.try(:site_name)}")
  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
tkh_authentication-0.9.17.2 app/mailers/reception_mailer.rb
tkh_authentication-0.9.17.1 app/mailers/reception_mailer.rb
tkh_authentication-0.9.17 app/mailers/reception_mailer.rb
tkh_authentication-0.9.16 app/mailers/reception_mailer.rb
tkh_authentication-0.9.15 app/mailers/reception_mailer.rb
tkh_authentication-0.9.14 app/mailers/reception_mailer.rb
tkh_authentication-0.9.13 app/mailers/reception_mailer.rb
tkh_authentication-0.9.12 app/mailers/reception_mailer.rb
tkh_authentication-0.9.11 app/mailers/reception_mailer.rb
tkh_authentication-0.9.10 app/mailers/reception_mailer.rb
tkh_authentication-0.9.9 app/mailers/reception_mailer.rb
tkh_authentication-0.9.8 app/mailers/reception_mailer.rb
tkh_authentication-0.9.7 app/mailers/reception_mailer.rb