blob: d44b28f51129e19a7e1b2ff3834d8f5b8f81d0e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class Maintenance < ActionMailer::Base
default :from => AppConfig.mail.sender_address
def account_removal_warning(user)
@user = user
@login_url = new_user_session_path
@pod_url = AppConfig.environment.url
@after_days = AppConfig.settings.maintenance.remove_old_users.after_days.to_s
@remove_after = @user.remove_after
mail(:to => @user.email, :subject => I18n.t('notifier.remove_old_user.subject')) do |format|
format.text
format.html
end
end
end
|