Gets or sets the base encoding of the returned values of string properties of MailMessage object.
An Encoding to use as base encoding of the returned values of string properties of MailMessage and dependent objects. The default value is DefaultEncoding.
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.
| Exception Type | Condition |
|---|---|
| MailBeeInvalidArgumentException | value is a null reference (Nothing in Visual Basic). |
StringConversionConfig Class | MailBee.Mime Namespace | DestinationEncoding