Creating Plot Twists
    Preparing search index...

    Type Alias SmtpMessage

    An email message to send.

    type SmtpMessage = {
        from: SmtpAddress;
        to: SmtpAddress[];
        cc?: SmtpAddress[];
        bcc?: SmtpAddress[];
        replyTo?: SmtpAddress;
        inReplyTo?: string;
        references?: string[];
        subject: string;
        text?: string;
        html?: string;
        messageId?: string;
    }
    Index

    Properties

    Sender address

    Primary recipients

    Carbon copy recipients

    bcc?: SmtpAddress[]

    Blind carbon copy recipients (not visible in headers)

    replyTo?: SmtpAddress

    Reply-To address (if different from From)

    inReplyTo?: string

    Message-ID of the message being replied to (for threading)

    references?: string[]

    Message-ID chain for threading

    subject: string

    Email subject line

    text?: string

    Plain text body

    html?: string

    HTML body

    messageId?: string

    Custom Message-ID; auto-generated as [email protected] if omitted