2014-02-24 01:01:37 -05:00
|
|
|
require_dependency 'email/message_builder'
|
|
|
|
|
|
|
|
class RejectionMailer < ActionMailer::Base
|
|
|
|
include Email::BuildEmailHelper
|
|
|
|
|
2014-07-17 13:04:02 -04:00
|
|
|
def send_rejection(message_from, message_body, message_subject, forum_address, template)
|
|
|
|
build_email(message_from,
|
|
|
|
template: "system_messages.#{template}",
|
|
|
|
source: message_body,
|
|
|
|
former_title: message_subject,
|
|
|
|
destination: forum_address)
|
2014-02-24 01:01:37 -05:00
|
|
|
end
|
2014-02-28 07:05:09 -05:00
|
|
|
|
2014-02-24 01:01:37 -05:00
|
|
|
end
|