discourse/app/mailers/test_mailer.rb

13 lines
227 B
Ruby
Raw Normal View History

2013-02-05 14:16:51 -05:00
require_dependency 'email_builder'
class TestMailer < ActionMailer::Base
include EmailBuilder
default from: SiteSetting.notification_email
2013-02-07 10:45:24 -05:00
2013-02-05 14:16:51 -05:00
def send_test(to_address)
build_email to_address, 'test_mailer'
end
end