discourse/app/mailers/test_mailer.rb

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