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: 12.5.0 build 687 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