mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
12 lines
227 B
Ruby
12 lines
227 B
Ruby
require_dependency 'email_builder'
|
|
|
|
class TestMailer < ActionMailer::Base
|
|
include EmailBuilder
|
|
|
|
default from: SiteSetting.notification_email
|
|
|
|
def send_test(to_address)
|
|
build_email to_address, 'test_mailer'
|
|
end
|
|
|
|
end
|