forked from ScoDoc/ScoDoc
fix: bcc as list in Message build
This commit is contained in:
parent
668210aaef
commit
461f14631b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user