Projet

Général

Profil

Bug #10600

Use template name format as stated in send_templated_mail for registration emails.

Ajouté par Mikaël Ates il y a environ 8 ans. Mis à jour il y a environ 8 ans.

Statut:
Rejeté
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
08 avril 2016
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

As defined in send_templated_mail :

'''Send mail to an user by using templates:
- <template_name>_subject.txt for the subject
- <template_name>_body.txt for the plain text body
- <template_name>_body.html for the HTML body
'''

Fichiers

Historique

#1

Mis à jour par Frédéric Péters il y a environ 8 ans

It would be better to switch to using send_templated_mail, with support for the legacy template names. This way there's no chance existing installations with customised templates revert back to default templates.

#2

Mis à jour par Mikaël Ates il y a environ 8 ans

Ok. This modification was done to quickly implement another patch and should have not been proposed as a patch.
Then I prefered to keep using send_registration_mail proposing a patch to support legacy names: #10635.
If it is ok, I will set this ticket as rejected.

#3

Mis à jour par Benjamin Dauvergne il y a environ 8 ans

  • Statut changé de Nouveau à Rejeté

Ok.

Formats disponibles : Atom PDF