class ApplicationMailer
Public Instance Methods
send_batch_mail(to, title, body)
click to toggle source
# File lib/templates/app/mailers/application_mailer.rb, line 5 def send_batch_mail(to, title, body) mail_hash = { to: to, subject: title, body: body, content_type: 'text/html', } mail(mail_hash) end