FormatOptionsMaxLineLength Property

Get or set the maximum line length used by the encoders. The encoders use this value to determine where to place line breaks.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public int MaxLineLength { get; set; }

Property Value

Int32
The maximum line length.

Remarks

Specifies the maximum line length to use when line-wrapping headers.

Exceptions

ArgumentOutOfRangeException value is out of range. It must be between 60 and 998.
InvalidOperationException Default cannot be changed.

See Also