set_rfc2047_compliance_mode


Description:

public void set_rfc2047_compliance_mode (RfcComplianceMode mode)

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

In general, you'll probably want this value to be LOOSE (the default) as it allows maximum interoperability with existing (broken) mail clients and other mail software such as sloppily written perl scripts (aka spambots).

Note: Even in STRICT mode, the parameter parser is fairly liberal in what it accepts. Setting it to LOOSE just makes it try harder to deal with garbage input.

Parameters:

this

a ParserOptions

mode

a RfcComplianceMode