renderEmailContent(type: EmailTemplateType,data: TemplateData,): Promise<EmailContent>
Render all 3 parts (subject, html, text) using custom templates with fallback to defaults
type: EmailTemplateType
data: TemplateData
renderEmailContent(type: EmailTemplateType,data: TemplateData,): Promise<EmailContent>
Render all 3 parts (subject, html, text) using custom templates with fallback to defaults
type: EmailTemplateType
data: TemplateData
import { renderEmailContent } from "doc.ts";