EnrichedToHtmlMaxParameterLength Property

Get or set the maximum parameter length.

Definition

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

Property Value

Int32
The maximum parameter length.

Remarks

Limits the UTF-16 characters in a parameter, including ignored parameter content. Line endings are counted after normalization to LF. The default is 4096. Exceeding the limit throws FormatException.

Exceptions

ArgumentOutOfRangeException value is less than one.

See Also