forked from ScoDoc/ScoDoc
Merge pull request 'fix: bcc as list in Message build' (#176) from jmplace/ScoDoc-Lille:fix_bcc into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/176
This commit is contained in:
commit
db937ca7c5
@ -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