Class: UserNotifier
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- UserNotifier
- Defined in:
- app/models/user_notifier.rb
Instance Method Summary collapse
Instance Method Details
#reset_password(user, password) ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'app/models/user_notifier.rb', line 2 def reset_password(user, password) content_type "text/html; charset=utf-8" recipients "#{user.firstname} #{user.lastname} <#{user.email}>" from "[email protected]" subject "#{I18n.t('admin.reset_password_mail')}" body :user => user, :password => password end |