On met l'adresse de l'orga en Return-Path
pour ne pas que KDE reçoive tous les mails d'erreur
This commit is contained in:
parent
5dfb23bde5
commit
2c74a7866a
1 changed files with 2 additions and 0 deletions
|
@ -421,6 +421,8 @@ def send_mail(election, subject, body, reply_to):
|
|||
),
|
||||
to=[v.email],
|
||||
reply_to=[reply_to],
|
||||
# On modifie l'adresse de retour d'erreur
|
||||
headers={"Return-Path": reply_to},
|
||||
),
|
||||
v,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue