discourse/app/mailers/test_mailer.rb

12 lines
239 B
Ruby

# frozen_string_literal: true
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