mimekit-ts - v1.0.0
    Preparing search index...

    Class ParserOptions

    Parser options used by MimeParser and parse-style helper methods.

    Allows callers to change or override the default parsing behavior used throughout the MIME parser.

    Index
    default: ParserOptions = ...

    The default parser options.

    If custom options are not supplied to parsers or parse methods, these options are used.

    addressParserComplianceMode: RfcComplianceMode = 'loose'

    Compliance mode used when parsing RFC 822 addresses.

    allowUnquotedCommasInAddresses: boolean = true

    Whether the address parser should ignore unquoted commas in display names.

    allowAddressesWithoutDomain: boolean = true

    Whether mailbox addresses without an @domain component are accepted.

    maxAddressGroupDepth: number = 3

    Maximum recursive RFC 822 group-address depth the parser accepts.

    maxMimeDepth: number = 1024

    Maximum recursive MIME part depth the parser accepts.

    parameterComplianceMode: RfcComplianceMode = 'loose'

    Compliance mode used when parsing Content-Type and Content-Disposition parameters.

    rfc2047ComplianceMode: RfcComplianceMode = 'loose'

    Compliance mode used when decoding RFC 2047 encoded-words.

    respectContentLength: boolean = false

    Whether mbox Content-Length values should be respected while parsing.

    charsetEncoding: CharsetEncoding = utf8

    Fallback charset encoding used for 8bit headers.