| ParserOptionsAddressParserComplianceMode Property |
Get or set the compliance mode that should be used when parsing rfc822 addresses.
Namespace: MimeKitAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax public RfcComplianceMode AddressParserComplianceMode { get; set; }
Property Value
RfcComplianceModeThe RFC compliance mode.
Remarks 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).
Tip |
---|
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. |
See Also