Optionaltemplates: Readonly<Record<string, MailTemplate>>
Named templates (from MailPluginOptions.templates)
OptionalviewEngine: IViewEngine
The engine the component arm renders through; required
when any template is a component template, and resolved by MailPlugin
from CAPABILITIES.VIEW at register()
Reports whether a template is registered.
Renders a template's bodies with data.
A string template substitutes {{ key }} placeholders and refuses a key
absent from data. A component template passes data to each component
VERBATIM as its props and performs no missing-key check — a component
reads whatever it reads, so an absent key renders as undefined; the
compile-time route is engine.render(Component, props) by hand.
Template name
Interpolation variables, or the component's props
The rendered html/text bodies that the template defines
A registry of named body templates:
{{ variable }}strings and view components, rendered through onerender.Since
0.1.0