1
0
forked from ScoDoc/ScoDoc

fix: bcc as list in Message build

This commit is contained in:
Jean-Marie Place 2021-10-26 19:27:51 +02:00
parent 668210aaef
commit 461f14631b

View File

@ -987,7 +987,7 @@ def mail_bulletin(formsemestre_id, I, pdfdata, filename, recipient_addr):
bcc = copy_addr.strip() bcc = copy_addr.strip()
else: else:
bcc = "" bcc = ""
msg = Message(subject, sender=sender, recipients=recipients, bcc=bcc) msg = Message(subject, sender=sender, recipients=recipients, bcc=[bcc])
msg.body = hea msg.body = hea
# Attach pdf # Attach pdf