mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-23 22:12:30 -05:00
e29f4a3496
- Add support classes and settings to enable reply by email - Split out Email builder to be more OO, add many specs
9 lines
208 B
Ruby
9 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
|