@ -176,7 +176,7 @@ class InvoiceDetailView(APIView):
html_content = html.render(context)
msg = EmailMultiAlternatives(subject, text_content, [to], bcc=['dmitry.dolya@skillbox.ru'])
msg.attach_alternative(html_content, "text/html")
# msg.attach_alternative(html_content, "text/html")
msg.send()
invoice.save()