demarches-normaliennes/app/mailers/application_mailer.rb

12 lines
394 B
Ruby
Raw Normal View History

2015-12-14 16:09:20 +01:00
class ApplicationMailer < ActionMailer::Base
include MailerDolistConcern
include MailerMonitoringConcern
include BalancedDeliveryConcern
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