Merge pull request #41182 from Nihantra-Patel/email_-rendering

fix: rendering the email template when user HTML
This commit is contained in:
rohitwaghchaure
2024-04-26 13:09:53 +05:30
committed by GitHub

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