Sha256: 8679945104d6e82184f95a8ebf464c16555feb31b54a47c497a94461039eb384

Contents?: true

Size: 418 Bytes

Versions: 62

Compression:

Stored size: 418 Bytes

Contents

module Workarea
  module Admin
    class ReportsMailer < Admin::ApplicationMailer
      def export(id)
        @export = Workarea::Reports::Export.find(id)

        mail(
          bcc: @export.emails,
          from: Workarea.config.email_from,
          subject: t(
            'workarea.admin.reports_mailer.export.subject',
            name: @export.name.downcase
          )
        )
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.5.27 app/mailers/workarea/admin/reports_mailer.rb
workarea-admin-3.5.26 app/mailers/workarea/admin/reports_mailer.rb
workarea-admin-3.4.45 app/mailers/workarea/admin/reports_mailer.rb
workarea-admin-3.5.25 app/mailers/workarea/admin/reports_mailer.rb
workarea-admin-3.5.23 app/mailers/workarea/admin/reports_mailer.rb
workarea-admin-3.4.44 app/mailers/workarea/admin/reports_mailer.rb
workarea-admin-3.5.22 app/mailers/workarea/admin/reports_mailer.rb
workarea-admin-3.4.43 app/mailers/workarea/admin/reports_mailer.rb
workarea-admin-3.5.21 app/mailers/workarea/admin/reports_mailer.rb
workarea-admin-3.4.42 app/mailers/workarea/admin/reports_mailer.rb
workarea-admin-3.5.20 app/mailers/workarea/admin/reports_mailer.rb
workarea-admin-3.4.41 app/mailers/workarea/admin/reports_mailer.rb
workarea-admin-3.5.19 app/mailers/workarea/admin/reports_mailer.rb
workarea-admin-3.4.40 app/mailers/workarea/admin/reports_mailer.rb
workarea-admin-3.5.18 app/mailers/workarea/admin/reports_mailer.rb
workarea-admin-3.4.39 app/mailers/workarea/admin/reports_mailer.rb
workarea-admin-3.5.17 app/mailers/workarea/admin/reports_mailer.rb
workarea-admin-3.4.38 app/mailers/workarea/admin/reports_mailer.rb
workarea-admin-3.5.16 app/mailers/workarea/admin/reports_mailer.rb
workarea-admin-3.4.37 app/mailers/workarea/admin/reports_mailer.rb