discourse/app/mailers/test_mailer.rb
Robin Ward e29f4a3496 Work in Progress: Reply By Email:
- Add support classes and settings to enable reply by email
- Split out Email builder to be more OO, add many specs
2013-06-13 12:39:56 -04:00

9 lines
208 B
Ruby

require_dependency 'email/message_builder'
class TestMailer < ActionMailer::Base
include Email::BuildEmailHelper
def send_test(to_address)
build_email(to_address, template: 'test_mailer')
end
end