discourse/app/mailers/test_mailer.rb

10 lines
195 B
Ruby

# frozen_string_literal: true
class TestMailer < ActionMailer::Base
include Email::BuildEmailHelper
def send_test(to_address)
build_email(to_address, template: 'test_mailer')
end
end