Class: Ecm::UserArea::UserMailer

Inherits:
Object
  • Object
show all
Defined in:
app/mailers/ecm/user_area/user_mailer.rb

Instance Method Summary collapse

Instance Method Details

#password_reset_email(user, host, application_name = nil) ⇒ Object



5
6
7
8
9
10
# File 'app/mailers/ecm/user_area/user_mailer.rb', line 5

def password_reset_email(user, host, application_name = nil)
  @host = host
  @user = user
  @application_name = application_name || Configuration.application_name
  mail(to: @user.email)
end