diff options
author | Prabhu Ramachandran | 2018-06-07 14:22:12 +0530 |
---|---|---|
committer | GitHub | 2018-06-07 14:22:12 +0530 |
commit | cd4a76d2bb8eb39621729536fbd9a8f2036d13cf (patch) | |
tree | c8e7d20a61dadc1dfd08e604002f8443f89610ed /yaksh/send_emails.py | |
parent | 28618863e1487627e24f24476afd0f7b12149bcb (diff) | |
parent | 1e6b4b12a79b4e62248a4f7a844a5d9bdf9753de (diff) | |
download | online_test-cd4a76d2bb8eb39621729536fbd9a8f2036d13cf.tar.gz online_test-cd4a76d2bb8eb39621729536fbd9a8f2036d13cf.tar.bz2 online_test-cd4a76d2bb8eb39621729536fbd9a8f2036d13cf.zip |
Merge pull request #477 from ankitjavalkar/mail-to-bcc
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: |