discourse/app/mailers/test_mailer.rb

12 lines
208 B
Ruby
Raw Normal View History

2013-06-10 15:33:37 -04:00
require_dependency 'email/builder'
2013-02-05 14:16:51 -05:00
class TestMailer < ActionMailer::Base
2013-04-26 02:56:28 -04:00
default charset: 'UTF-8'
2013-06-10 15:33:37 -04:00
include Email::Builder
2013-02-05 14:16:51 -05:00
def send_test(to_address)
build_email to_address, 'test_mailer'
end
end