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: 4.7.1
Syntax
C#
public bool AlwaysQuoteParameterValues { get; set; }

Property Value

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