mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 08:57:10 -06:00
e29f4a3496
- Add support classes and settings to enable reply by email - Split out Email builder to be more OO, add many specs
10 lines
208 B
Ruby
10 lines
208 B
Ruby
require_dependency 'email/message_builder'
|
|
|
|
class TestMailer < ActionMailer::Base
|
|
include Email::BuildEmailHelper
|
|
|
|
def send_test(to_address)
|
|
build_email(to_address, template: 'test_mailer')
|
|
end
|
|
end
|