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