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

    Interface ParsedAttachment

    An attachment from a parsed message.

    interface ParsedAttachment {
        content: Uint8Array;
        contentId?: string;
        contentType: string;
        filename?: string;
        inline: boolean;
    }
    Index
    content: Uint8Array

    The decoded attachment bytes. The array is a fresh copy; the caller owns it and may mutate it.

    contentId?: string

    The Content-ID value, without angle brackets, for inline parts.

    contentType: string

    The media type, for example application/pdf.

    filename?: string

    The filename, decoded when it was encoded.

    inline: boolean

    Whether the part is marked inline or carries a Content-ID.