Sha256: 535ee71dfb145bb2ba0c002271eaf1c09cd986d5f3644cb29b0df72afbd891b0
Contents?: true
Size: 441 Bytes
Versions: 37
Compression:
Stored size: 441 Bytes
Contents
module Caboose class LoginMailer < CabooseMailer #ActionMailer::Base def forgot_password_email(user) @user = user mail(:to => user.email, :subject => "#{user.site.description} Forgot Password") end def locked_account(user) @user = user admin_email = user.site.contact_email mail(:to => admin_email, :subject => "#{user.site.description} Locked Account") if !admin_email.blank? end end end
Version data entries
37 entries across 37 versions & 1 rubygems