class Easyemail::Mailer

Public Instance Methods

send_email(from, to, subject, content) click to toggle source
# File lib/mailer.rb, line 11
def send_email from, to, subject, content
  @content = content
  mail(
    to: to,
    from: from,
    subject: subject
  ) do | format |
    format.html
  end
end