SmtpAppender BodyEncoding Property | Apache log4net™ SDK Documentation

Gets or sets the body encoding to be used.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public Encoding BodyEncoding { get; set; }

    Public Property BodyEncoding As Encoding
    	Get
    	Set

    public:
    property Encoding^ BodyEncoding {
    	Encoding^ get ();
    	void set (Encoding^ value);
    }

    member BodyEncoding : Encoding with get, set

#### Property Value

Type: Encoding
Remarks

The default encoding is the operating system's current ANSI codepage.
See Also

#### Reference

SmtpAppender Class
log4net.Appender Namespace