Sets the compliance mode that should be used when parsing rfc822 addresses.
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 address parser is fairly liberal in what it accepts. Setting it to LOOSE just makes it try harder to deal with garbage input.
this | |
mode |