Click or drag to resize
MimeKit

FormatOptions Class

Format options for serializing various MimeKit objects.
Inheritance Hierarchy
SystemObject
  MimeKitFormatOptions

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public class FormatOptions

The FormatOptions type exposes the following members.

Constructors
 NameDescription
Public methodFormatOptions Initialize a new instance of the FormatOptions class.
Top
Properties
 NameDescription
Public propertyAllowMixedHeaderCharsets Get or set whether the formatter should allow mixed charsets in the headers.
Public propertyAlwaysQuoteParameterValues Get or set whether Content-Type and Content-Disposition parameter values should always be quoted even when they don't need to be.
Public propertyEnsureNewLine Get or set whether the formatter should ensure that messages end with a new-line sequence.
Public propertyHiddenHeaders Get the message headers that should be hidden.
Public propertyInternational Get or set whether the new "Internationalized Email" formatting standards should be used.
Public propertyMaxLineLength Get or set the maximum line length used by the encoders. The encoders use this value to determine where to place line breaks.
Public propertyNewLineFormat Get or set the new-line format.
Public propertyParameterEncodingMethod Get or set the method to use for encoding Content-Type and Content-Disposition parameter values.
Top
Methods
 NameDescription
Public methodClone Clone an instance of FormatOptions.
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodToString
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberDefault The default formatting options.
Top
Remarks
Represents the available options for formatting MIME messages and entities when writing them to a stream.
See Also