discourse/app/mailers/test_mailer.rb

12 lines
208 B
Ruby
Raw Normal View History

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