MessageParserConfigEncodingOverride Property
Gets or sets Encoding to use for decoding the message headers and text body parts from bytes to strings.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public Encoding EncodingOverride { 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.
Note Note
MessageParserConfig object cannot be used on its own. To access its members, the developer should use MailMessage.Parser property.
See Also