summaryrefslogtreecommitdiff
path: root/yaksh/send_emails.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/send_emails.py')
-rw-r--r--yaksh/send_emails.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/send_emails.py b/yaksh/send_emails.py
index ae49f23..4c9a7dc 100644
--- a/yaksh/send_emails.py
+++ b/yaksh/send_emails.py
@@ -65,7 +65,7 @@ def send_bulk_mail(subject, email_body, recipients, attachments):
try:
text_msg = ""
msg = EmailMultiAlternatives(subject, text_msg, settings.SENDER_EMAIL,
- recipients
+ [settings.SENDER_EMAIL], bcc=recipients
)
msg.attach_alternative(email_body, "text/html")
if attachments: