MailBee.NET Objects 4.0

MessageParserConfig.EncodingDefault Property

Gets or sets Encoding to use when the charset is not specified in the e-mail message.

public System.Text.Encoding EncodingDefault {get; set;}

Property Value

An Encoding object specifying the charset to use during parsing the message for decoding message bytes into strings if the charset is not specifed in the message. The default value is Global.DefaultEncoding.

Remarks

MessageParserConfig object cannot be used on its own. To access its members, the developer should use MailMessage.Parser property.

Exceptions

Exception Type Condition
MailBeeInvalidArgumentException value is a null reference (Nothing in Visual Basic).

See Also

MessageParserConfig Class | MailBee.Mime Namespace