discourse/app/mailers/test_mailer.rb

12 lines
206 B
Ruby
Raw Normal View History

2013-02-05 14:16:51 -05:00
require_dependency 'email_builder'
class TestMailer < ActionMailer::Base
2013-04-26 02:56:28 -04:00
default charset: 'UTF-8'
2013-02-05 14:16:51 -05:00
include EmailBuilder
def send_test(to_address)
build_email to_address, 'test_mailer'
end
end