Sha256: 482f6175207dda1be70ef6769ec8fe3cf1345640c3132ea4e7741197ebad1fab
Contents?: true
Size: 632 Bytes
Versions: 11
Compression:
Stored size: 632 Bytes
Contents
# frozen_string_literal: true require_dependency 'thredded/topic_email_view' module Thredded class PrivateTopicMailer < Thredded::BaseMailer def message_notification(private_topic_id, emails) @topic = find_record PrivateTopic, private_topic_id email_details = TopicEmailView.new(@topic) headers['X-SMTPAPI'] = email_details.smtp_api_tag('private_topic_mailer') mail from: email_details.no_reply, to: email_details.no_reply, bcc: emails, reply_to: email_details.reply_to, subject: email_details.subject end end end
Version data entries
11 entries across 11 versions & 1 rubygems