From 0c5cc0b51f0b94fe9b86ce3ef5d2a9c759e53056 Mon Sep 17 00:00:00 2001 From: AlexDyakonov Date: Sun, 16 Jun 2024 05:16:32 +0300 Subject: [PATCH] Small fix of sending email --- backend/apps/mailer/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/apps/mailer/utils.py b/backend/apps/mailer/utils.py index 97f0f35..2fbf8dc 100644 --- a/backend/apps/mailer/utils.py +++ b/backend/apps/mailer/utils.py @@ -2,7 +2,7 @@ from bs4 import BeautifulSoup from django.template.loader import render_to_string -from .tasks import send_mail_with_attachment +from .tasks import send_mail def send_purchase_email(email, payment_id): @@ -18,4 +18,4 @@ def send_purchase_email(email, payment_id): "html_message": html_message, } - send_mail_with_attachment([email], mail_data) + send_mail([email], mail_data)