fix: rendering the email template when user HTML

This commit is contained in:
Nihantra C. Patel
2024-04-25 12:01:28 +05:30
committed by GitHub
parent 5f6bf4c369
commit 7cb66f7fd3

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