Priority Property

log4net SDK Reference |

# SmtpAppender.Priority Property

Gets or sets the priority of the e-mail message

[Visual Basic]
Public Property Priority As MailPriority
[C#]
public System.Web.Mail.MailPriority Priority {get; set;}

#### Property Value

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

SmtpAppender Class | log4net.Appender Namespace