class ConfigSendMailer < ActionMailer::Base def config(receiver, config_uri) @subject = '[Hidden Invalid Entries Config] 設定用アドレス' @body["receiver"] = receiver @body["config_uri"] = config_uri @recipients = receiver @from = 'trashsuite+hhhiec@gmail.com' @sent_on = Time.now @headers = {} end end