Sets the compliance mode that should be used when parsing Content-Type and Content-Disposition parameters.
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.
this | |
mode |