diff options
author | ankitjavalkar | 2018-05-14 13:26:41 +0530 |
---|---|---|
committer | ankitjavalkar | 2018-05-14 17:46:34 +0530 |
commit | 1e6b4b12a79b4e62248a4f7a844a5d9bdf9753de (patch) | |
tree | 08e43797f0ee6b56b622f14ca5b1e2b15d0cf531 /yaksh/send_emails.py | |
parent | a7b0c232991208625564f76a56d078e9391c5cb2 (diff) | |
download | online_test-1e6b4b12a79b4e62248a4f7a844a5d9bdf9753de.tar.gz online_test-1e6b4b12a79b4e62248a4f7a844a5d9bdf9753de.tar.bz2 online_test-1e6b4b12a79b4e62248a4f7a844a5d9bdf9753de.zip |
Add recipients to BCC field in send_bulk_mail function
Diffstat (limited to 'yaksh/send_emails.py')
-rw-r--r-- | yaksh/send_emails.py | 2 |
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: |