Format OptionsParameter Encoding Method Property
Get or set the method to use for encoding Content-Type and Content-Disposition parameter values.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The parameter encoding method that will be used.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public ParameterEncodingMethod ParameterEncodingMethod { get; set; }Property Value
ParameterEncodingMethodThe parameter encoding method that will be used.
Remarks
The method to use for encoding Content-Type and Content-Disposition parameter values when the EncodingMethod is set to Default.
The MIME specifications specify that the proper method for encoding Content-Type and Content-Disposition parameter values is the method described in rfc2231. However, it is common for some older email clients to improperly encode using the method described in rfc2047 instead.
Exceptions
| ArgumentOutOfRangeException | value is not a valid value. |