ParserOptions.getRfc2047ComplianceMode

Gets the compliance mode that should be used when parsing rfc2047 encoded words.

Note: Even in #GMIME_RFC_COMPLIANCE_STRICT mode, the rfc2047 parser is fairly liberal in what it accepts. Setting it to #GMIME_RFC_COMPLIANCE_LOOSE just makes it try harder to deal with garbage input.

class ParserOptions
getRfc2047ComplianceMode
()

Return Value

Type: gmime.types.RfcComplianceMode

the compliance mode that is currently set.