discourse/app/mailers/test_mailer.rb
2023-01-09 14:14:59 +00:00

10 lines
214 B
Ruby

# frozen_string_literal: true
class TestMailer < ActionMailer::Base
include Email::BuildEmailHelper
def send_test(to_address, opts = {})
build_email(to_address, template: "test_mailer", **opts)
end
end