Class: Rails::Contact::ContactMailer

Inherits:
ApplicationMailer show all
Defined in:
app/mailers/rails/contact/contact_mailer.rb

Instance Method Summary collapse

Instance Method Details

#confirmation_instructions(email, token) ⇒ Object



4
5
6
# File 'app/mailers/rails/contact/contact_mailer.rb', line 4

def confirmation_instructions(email, token)
  mail_for(email, "Confirmation instructions", token)
end

#email_changed(email) ⇒ Object



16
17
18
# File 'app/mailers/rails/contact/contact_mailer.rb', line 16

def email_changed(email)
  mail(to: email, subject: "Email changed notification")
end

#password_changed(email) ⇒ Object



20
21
22
# File 'app/mailers/rails/contact/contact_mailer.rb', line 20

def password_changed(email)
  mail(to: email, subject: "Password changed notification")
end

#reset_password_instructions(email, token) ⇒ Object



8
9
10
# File 'app/mailers/rails/contact/contact_mailer.rb', line 8

def reset_password_instructions(email, token)
  mail_for(email, "Reset password instructions", token)
end

#unlock_instructions(email, token) ⇒ Object



12
13
14
# File 'app/mailers/rails/contact/contact_mailer.rb', line 12

def unlock_instructions(email, token)
  mail_for(email, "Unlock instructions", token)
end