Change the email address we send emails with
Also add a display name, so that we don't show just a dumb email address
This commit is contained in:
parent
e14d1a6c15
commit
84ae1a0c0b
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
class ApplicationMailer < ActionMailer::Base
|
||||
default from: "tps@apientreprise.fr"
|
||||
default from: "'Téléprocédures Simplifiées' <contact@tps.apientreprise.fr>"
|
||||
layout 'mailer'
|
||||
end
|
||||
|
|
|
@ -10,7 +10,7 @@ Devise.setup do |config|
|
|||
# Configure the e-mail address which will be shown in Devise::Mailer,
|
||||
# note that it will be overwritten if you use your own mailer class
|
||||
# with default "from" parameter.
|
||||
config.mailer_sender = 'tps@apientreprise.fr'
|
||||
config.mailer_sender = "'Téléprocédures Simplifiées' <contact@tps.apientreprise.fr>"
|
||||
|
||||
# Configure the class responsible to send e-mails.
|
||||
# config.mailer = 'Devise::Mailer'
|
||||
|
|
Loading…
Add table
Reference in a new issue