class AdminMailer < ActionMailer::Base default from: "Exception Notifier " def rescued_exceptions(exception, message) @exception, @message = exception, message mail to: "Swami Atma ", subject: "Rescued Exception - #{Setting.first.site_name}" end end