Gets or sets Encoding to use for decoding the message headers and text body parts from bytes to strings.
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.
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 MessageParserConfig object cannot be used on its own. To access its members, the developer should use MailMessage.Parser property.
MessageParserConfig Class | MailBee.Mime Namespace | DefaultEncoding