ParserOptions.getAddressComplianceMode

gmime.types.RfcComplianceMode getAddressComplianceMode()

Gets the compliance mode that should be used when parsing rfc822 addresses.

Note

Even in #GMIME_RFC_COMPLIANCE_STRICT mode, the address 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.

Returns

the compliance mode that is currently set.