From a4a1f0171f36152b1bf551308bf91cc824e5af18 Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 28 Mar 2018 10:18:00 +0300 Subject: [PATCH] finance email --- finance/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finance/views.py b/finance/views.py index 05be344..bf163bb 100644 --- a/finance/views.py +++ b/finance/views.py @@ -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()