MessageParserConfigEncodingOverride Property |
Gets or sets
Encoding to use for decoding the message headers and text body parts from bytes to strings.
Namespace: MailBee.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Encoding EncodingOverride { get; set; }
Public Property EncodingOverride As Encoding
Get
Set
Property Value
Type:
Encoding
A
Encoding object specifying the charset to be used when decoding headers
and text parts of the message from bytes to strings, or a null reference (
Nothing in Visual Basic)
if the charset settings should be obtained from the message (if it contains the charset information)
or from
EncodingDefault property (if the charset information is missing in the message).
The default value is a null reference.
Remarks
If this property is not null, MailBee will use the specified encoding instead of the charset specified in the message
or in
EncodingDefault property. This can be useful if the charset information in the message is incorrect
and the developer needs to manually override the charset specification.
See Also