mirror of
https://github.com/discourse/discourse.git
synced 2024-12-18 19:56:28 +08:00
12 lines
206 B
Ruby
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
|