class SimpleSmtpTestMailer

Public Instance Methods

test_email(to, body='This message was generated by the Simple SMTP Test program for Ruby on Rails.') click to toggle source
# File lib/simple_smtp_test/simple_smtp_test_mailer.rb, line 4
def test_email(to, body='This message was generated by the Simple SMTP Test program for Ruby on Rails.')
  from = 'do-not-reply@example.com'
  subject = 'This is a test email from Simple SMTP test'
  mail to:to, from:from, subject:subject, body:body
end