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

    Interface Attachment

    A message attachment.

    The attachment data is retained by reference until the message is built. Callers must not mutate it in the meantime.

    interface Attachment {
        contentId?: string;
        contentType?: string;
        data: Uint8Array;
        filename?: string;
        inline?: boolean;
    }
    Index
    contentId?: string

    The inline content identifier, without angle brackets.

    contentType?: string

    The media type. Defaults to application/octet-stream.

    data: Uint8Array

    The raw attachment content. The caller retains ownership.

    filename?: string

    The attachment filename. It may be empty.

    inline?: boolean

    Marks the attachment for inline display, for example a cid: image.