ajout du nom d'application dans les mailers

This commit is contained in:
clemkeirua 2020-07-23 15:09:47 +02:00
parent 03864f60cf
commit 52548d7646
8 changed files with 15 additions and 15 deletions

View file

@ -1,6 +1,6 @@
class ApplicationMailer < ActionMailer::Base
helper :application # gives access to all helpers defined within `application_helper`.
default from: "demarches-simplifiees.fr <#{CONTACT_EMAIL}>"
default from: "#{APPLICATION_NAME} <#{CONTACT_EMAIL}>"
layout 'mailer'
# Dont retry to send a message if the server rejects the recipient address