StringConversionConfigCustomByteEncoding Property
Gets or sets the base encoding of the returned values of string properties of MailMessage object.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public Encoding CustomByteEncoding { get; set; }

Property Value

Type: Encoding
An Encoding to use as base encoding of the returned values of string properties of MailMessage and dependent objects. The default value is DefaultEncoding.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionvalue is a null reference (Nothing in Visual Basic).
Remarks

You should set this property to the value of responseEncoding of the ASP.NET application (it's usually set in web.config file).

This encoding specifies the encoding to be used on the second step of "string to byte and back to string" conversion when converting bytes into strings.

See Also