2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2013-06-10 16:46:08 -04:00
|
|
|
require_dependency 'email/message_builder'
|
2013-02-05 14:16:51 -05:00
|
|
|
|
|
|
|
class TestMailer < ActionMailer::Base
|
2013-06-10 16:46:08 -04:00
|
|
|
include Email::BuildEmailHelper
|
2013-02-05 14:16:51 -05:00
|
|
|
|
|
|
|
def send_test(to_address)
|
2013-06-10 16:46:08 -04:00
|
|
|
build_email(to_address, template: 'test_mailer')
|
2013-02-05 14:16:51 -05:00
|
|
|
end
|
|
|
|
end
|