discourse/app/mailers/test_mailer.rb

10 lines
214 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2013-02-05 13:16:51 -06:00
class TestMailer < ActionMailer::Base
include Email::BuildEmailHelper
2013-02-05 13:16:51 -06:00
def send_test(to_address, opts = {})
build_email(to_address, template: "test_mailer", **opts)
2013-02-05 13:16:51 -06:00
end
end