SmtpAppender Priority Property | Apache log4net™ SDK Documentation

Gets or sets the priority of the e-mail message

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

C#
VB
C++
F#
Copy

    public MailPriority Priority { get; set; }

    Public Property Priority As MailPriority
    	Get
    	Set

    public:
    property MailPriority Priority {
    	MailPriority get ();
    	void set (MailPriority value);
    }

    member Priority : MailPriority with get, set

#### Property Value

Type: MailPriority
One of the MailPriority values.
Remarks

Sets the priority of the e-mails generated by this appender. The default priority is Normal.

If you are using this appender to report errors then you may want to set the priority to High.

See Also

#### Reference

SmtpAppender Class
log4net.Appender Namespace