Allow sending text based email templates

This commit is contained in:
FusionPBX
2026-05-22 20:22:54 +00:00
committed by GitHub
parent af9796faf7
commit 1f680c90de
@@ -197,7 +197,6 @@ function send_email(id, uuid)
else
sql = sql .. "AND template_subcategory = 'default' "
end
sql = sql .. "AND template_type = 'html' "
sql = sql .. "AND template_enabled = true "
sql = sql .. "ORDER BY domain_uuid DESC "
local params = {domain_uuid = domain_uuid, template_language = default_language.."-"..default_dialect};