Click or drag to resize
MimeKit

FormatOptionsAlwaysQuoteParameterValues Property

Get or set whether Content-Type and Content-Disposition parameter values should always be quoted even when they don't need to be.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 3.0.0
Syntax
C#
public bool AlwaysQuoteParameterValues { get; set; }

Property Value

Type: Boolean
true if Content-Type and Content-Disposition parameters should always be quoted; otherwise, false.
Remarks

Gets or sets whether Content-Type and Content-Disposition parameter values should always be quoted even when they don't need to be.

Technically, Content-Type and Content-Disposition parameter values only require quoting when they contain characters that have special meaning to a MIME parser. However, for compatibility with email processing solutions that do not properly adhere to the MIME specifications, this property can be used to force MimeKit to quote parameter values that would normally not require quoting.

See Also