diff --git a/mail/views.py b/mail/views.py index baaf27c..ff20f42 100644 --- a/mail/views.py +++ b/mail/views.py @@ -49,7 +49,7 @@ class MailView(ContextMixin): def send(self, subject, recipient, context={}, attachments=[], sender=None, cc=[], bcc=[], text_from_html=False): text = self.render_to_text(text_from_html, **context) - email = EmailMultiAlternatives(subject, text, sender, [recipient], cc=cc, bcc=bcc + DEFAULT_BCC_EMAILS attachments=attachments) + email = EmailMultiAlternatives(subject, text, sender, [recipient], cc=cc, bcc=bcc + DEFAULT_BCC_EMAILS, attachments=attachments) if html := self.render_to_html(**context): email.attach_alternative(html, "text/html") email.send() \ No newline at end of file