demarches-normaliennes/app/mailers/application_mailer.rb
2024-08-22 09:26:48 +02:00

15 lines
503 B
Ruby

# frozen_string_literal: true
class ApplicationMailer < ActionMailer::Base
include MailerDefaultsConfigurableConcern
include MailerDolistConcern
include MailerMonitoringConcern
include BalancedDeliveryConcern
include PriorityDeliveryConcern
helper :application # gives access to all helpers defined within `application_helper`.
default from: "#{APPLICATION_NAME} <#{CONTACT_EMAIL}>"
layout 'mailer'
before_action -> { Sentry.set_tags(mailer: mailer_name, action: action_name) }
end