LoggerFileEncoding Property
Gets or sets Encoding to be used when writing into the log file.

Namespace: MailBee
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.3.1 build 666 for .NET 4.5
public Encoding FileEncoding { get; set; }

Property Value

Type: Encoding
A reference to the Encoding object specifying which character encoding to use when writing data into the log file. The default value is DefaultEncoding.
MailBeeInvalidArgumentExceptionvalue is a null reference (Nothing in Visual Basic).
If log strings contain international characters which are replaced with ? characters in the log file, consider setting this property to the appropriate encoding (such as UTF8).
Note Note
This property is ignored when memory log is used (because no character-to-byte conversion needs to be performed for memory log).
See Also