Class: UserMailer

Inherits:
ApplicationMailer show all
Defined in:
/var/apps/qpixel/app/mailers/user_mailer.rb

Instance Method Summary collapse

Instance Method Details

#deletion_confirmationObject



4
5
6
7
8
9
10
11
# File '/var/apps/qpixel/app/mailers/user_mailer.rb', line 4

def deletion_confirmation
  @user = params[:user]
  @host = params[:host]
  @community = params[:community]
  mail to: @user.email, subject: "Your #{SiteSetting['NetworkName']} account has been deleted as you requested",
       from: "#{SiteSetting['NoReplySenderName', community: @community]} " \
             "<#{SiteSetting['NoReplySenderEmail', community: @community]}>"
end