fix: rendering the email template when user HTML

(cherry picked from commit 7cb66f7fd3)
This commit is contained in:
Nihantra C. Patel
2024-04-25 12:01:28 +05:30
committed by Mergify
parent 3bb26fde2b
commit 3068dad410

View File

@@ -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",