demarches-normaliennes/app/mailers/application_mailer.rb

16 lines
503 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2015-12-14 16:09:20 +01:00
class ApplicationMailer < ActionMailer::Base
include MailerDefaultsConfigurableConcern
include MailerDolistConcern
include MailerMonitoringConcern
include BalancedDeliveryConcern
include PriorityDeliveryConcern
2023-01-10 00:40:16 +01:00
helper :application # gives access to all helpers defined within `application_helper`.
default from: "#{APPLICATION_NAME} <#{CONTACT_EMAIL}>"
2015-12-14 16:09:20 +01:00
layout 'mailer'
2023-06-26 10:14:38 +02:00
before_action -> { Sentry.set_tags(mailer: mailer_name, action: action_name) }
2015-12-14 16:09:20 +01:00
end