@mxraven/mail - v0.6.0
    Preparing search index...

    Interface RenderedTemplate

    The content a TemplateRenderer produces.

    All engines ultimately produce HTML, so html is the only required field. A plain-text alternative is optional but recommended: when both html and text are present, the message is sent as multipart/alternative, which improves deliverability compared with HTML-only mail.

    interface RenderedTemplate {
        html: string;
        subject?: string;
        text?: string;
    }
    Index
    html: string

    The rendered HTML body.

    subject?: string

    A default subject. It is used only when the message does not set an explicit subject.

    text?: string

    The rendered plain-text alternative.