zibri
    Preparing search index...
    MailingListQueueEmailData: OmitStrict<
        QueueEmailData,
        "bcc"
        | "cc"
        | "recipients"
        | "userId"
        | "priority"
        | "html",
    > & {
        compile: (
            template: T,
            data: MailingListTemplateData,
        ) => string | Promise<string>;
        template: T;
        title?: string;
    }

    The data required to queue a new mailing list email.

    Type Parameters

    • T

    Type Declaration

    • compile: (template: T, data: MailingListTemplateData) => string | Promise<string>

      A function that compiles the given template.

    • template: T

      The template. Can be a template string, html or anything else, like a TSX component function.

    • Optionaltitle?: string

      The title used in the template. Defaults to the subject.