fix bcc_recipients
This commit is contained in:
parent
750ab94f93
commit
eab2c41f9b
|
@ -30,7 +30,7 @@ def _send_email(
|
||||||
text_template,
|
text_template,
|
||||||
sender,
|
sender,
|
||||||
to_recipients,
|
to_recipients,
|
||||||
bcc_recipients + [settings.ARCHIVE_EMAIL],
|
bcc_recipients + [settings.ARCHIVE_EMAIL] if bcc_recipients else [settings.ARCHIVE_EMAIL],
|
||||||
cc_recipients
|
cc_recipients
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue