fix sendmail
This commit is contained in:
parent
e1b20eca87
commit
81c71413ab
|
@ -301,7 +301,7 @@ def notify_unpaid(member):
|
||||||
mailheaders = mailheaders.replace("ANNEE_CIVILE", year)
|
mailheaders = mailheaders.replace("ANNEE_CIVILE", year)
|
||||||
mailheaders = mailheaders.replace("COURRIEL-COTISANT", email)
|
mailheaders = mailheaders.replace("COURRIEL-COTISANT", email)
|
||||||
|
|
||||||
sendmail(mailheaders, mailtext)
|
sendmail_with_attachment(mailheaders, mailtext, None, None)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def renotify_unpaid(member):
|
def renotify_unpaid(member):
|
||||||
|
@ -327,7 +327,7 @@ def renotify_unpaid(member):
|
||||||
mailheaders = mailheaders.replace("COURRIEL-COTISANT", email)
|
mailheaders = mailheaders.replace("COURRIEL-COTISANT", email)
|
||||||
mailheaders = mailheaders.replace("Modalit", "Rappel_:_modalit")
|
mailheaders = mailheaders.replace("Modalit", "Rappel_:_modalit")
|
||||||
|
|
||||||
sendmail(mailheaders, mailtext)
|
sendmail_with_attachment(mailheaders, mailtext, None, None)
|
||||||
|
|
||||||
def check_expired_unpaid():
|
def check_expired_unpaid():
|
||||||
expired_members = gestion_get_expired()
|
expired_members = gestion_get_expired()
|
||||||
|
|
Loading…
Reference in New Issue