discourse/app/mailers/test_mailer.rb
2013-04-26 16:56:28 +10:00

12 lines
206 B
Ruby

require_dependency 'email_builder'
class TestMailer < ActionMailer::Base
default charset: 'UTF-8'
include EmailBuilder
def send_test(to_address)
build_email to_address, 'test_mailer'
end
end