GestionnaireMailer: add mailjet campaign tag
This commit is contained in:
parent
b043effcc5
commit
5a794a8b9a
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ class GestionnaireMailer < ApplicationMailer
|
|||
end
|
||||
|
||||
def last_week_overview(gestionnaire, overview)
|
||||
headers['X-mailjet-campaign'] = 'last_week_overview'
|
||||
send_mail gestionnaire.email, overview, 'Résumé de la semaine'
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue