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: 11.2.0 build 590 for .NET 4.5
Syntax
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.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionvalue is a null reference (Nothing in Visual Basic).
Remarks
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