Class: Caboose::LoginMailer

Inherits:
CabooseMailer show all
Defined in:
app/mailers/caboose/login_mailer.rb

Overview

ActionMailer::Base

Instance Method Summary collapse

Instance Method Details

#forgot_password_email(user) ⇒ Object



4
5
6
7
# File 'app/mailers/caboose/login_mailer.rb', line 4

def forgot_password_email(user)
  @user = user
  mail(:to => user.email, :subject => "#{user.site.name.capitalize} Forgot Password")
end

#locked_account(user) ⇒ Object



9
10
11
12
# File 'app/mailers/caboose/login_mailer.rb', line 9

def (user)
  @user = user
  mail(:to => user.email, :subject => "#{user.site.name.capitalize} Locked Account")
end