diff --git a/controle_cotisation/mail_instructions_headers.txt b/controle_cotisation/mail_instructions_headers.txt index bb3ed43..7f6c0ba 100644 --- a/controle_cotisation/mail_instructions_headers.txt +++ b/controle_cotisation/mail_instructions_headers.txt @@ -2,7 +2,7 @@ Content-Language: fr From: =?UTF-8?Q?Tr=c3=a9sorier_de_Libre_en_Communs?= To: Bcc: -Subject: =?UTF-8?Q?=5bTr=c3=a9sorerie=5d_-_modalit=c3=a9s_de_r=c3=a8glement_de_vo?= +Subject: =?UTF-8?Q?Modalit=c3=a9s_de_r=c3=a8glement_de_vo?= =?UTF-8?Q?tre_cotisation_ANNEE_CIVILE?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable \ No newline at end of file diff --git a/controle_cotisation/main.py b/controle_cotisation/main.py index 4ba4dfe..887a5cb 100755 --- a/controle_cotisation/main.py +++ b/controle_cotisation/main.py @@ -255,6 +255,7 @@ def renotify_unpaid(member): mailheaders = get_file_content_all(MODALITY_MAIL_HEADERS) + "\n" mailheaders = mailheaders.replace("ANNEE_CIVILE", year) mailheaders = mailheaders.replace("COURRIEL-COTISANT", email) + mailheaders = mailheaders.replaces("Modalit", "Rappel_:_modalit") sendmail(mailheaders, mailtext)