From 7cb66f7fd3e20e8881fc2a4406a9aaef7c3c723c Mon Sep 17 00:00:00 2001 From: "Nihantra C. Patel" <141945075+Nihantra-Patel@users.noreply.github.com> Date: Thu, 25 Apr 2024 12:01:28 +0530 Subject: [PATCH] fix: rendering the email template when user HTML --- erpnext/crm/doctype/email_campaign/email_campaign.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/crm/doctype/email_campaign/email_campaign.py b/erpnext/crm/doctype/email_campaign/email_campaign.py index 0ad19a48c06..d0d0b0ec598 100644 --- a/erpnext/crm/doctype/email_campaign/email_campaign.py +++ b/erpnext/crm/doctype/email_campaign/email_campaign.py @@ -121,7 +121,7 @@ def send_mail(entry, email_campaign): doctype="Email Campaign", name=email_campaign.name, subject=frappe.render_template(email_template.get("subject"), context), - content=frappe.render_template(email_template.get("response"), context), + content=frappe.render_template(email_template.response_, context), sender=sender, recipients=recipient_list, communication_medium="Email",