Merge pull request #56 from lca2017/chrisjrn/universal_bcc
Removes BCC amendment to mail.py
This commit is contained in:
commit
aa70c5aeb2
1 changed files with 1 additions and 2 deletions
|
@ -24,8 +24,7 @@ def send_email(to, kind, **kwargs):
|
|||
message_plaintext = strip_tags(message_html)
|
||||
|
||||
from_email = settings.DEFAULT_FROM_EMAIL
|
||||
bcc_email = settings.ENVELOPE_BCC_LIST
|
||||
|
||||
email = EmailMultiAlternatives(subject, message_plaintext, from_email, to, bcc=bcc_email)
|
||||
email = EmailMultiAlternatives(subject, message_plaintext, from_email, to)
|
||||
email.attach_alternative(message_html, "text/html")
|
||||
email.send()
|
||||
|
|
Loading…
Reference in a new issue