Setu-TS
    Preparing search index...

    Interface MailStringTemplate

    The string arm of MailTemplate: named {{ variable }} bodies. At least one of html/text must be present. view is forbidden so a template cannot mix the two arms — the mix is a compile error, not a precedence rule.

    0.9.0

    interface MailStringTemplate {
        html?: string;
        text?: string;
        view?: undefined;
    }
    Index
    html?: string

    HTML body template with {{ variable }} placeholders (values escaped).

    text?: string

    Plain-text body template with {{ variable }} placeholders (raw).

    view?: undefined

    Never present on the string arm.