The properties of the SmtpAppender class are listed below. For a complete list of SmtpAppender class members, see the SmtpAppender Members topic.
Authentication | The mode to use to authentication with the SMTP server |
BufferSize (inherited from BufferingAppenderSkeleton) | Gets or sets the size of the cyclic buffer used to hold the logging events. |
ErrorHandler (inherited from AppenderSkeleton) | Gets or sets the IErrorHandler for this appender. |
Evaluator (inherited from BufferingAppenderSkeleton) | Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately. |
FilterHead (inherited from AppenderSkeleton) | The filter chain. |
Fix (inherited from BufferingAppenderSkeleton) | Gets or sets a the fields that will be fixed in the event |
From | Gets or sets the e-mail address of the sender. |
Layout (inherited from AppenderSkeleton) | Gets or sets the ILayout for this appender. |
LocationInfo | Obsolete. Obsolete |
Lossy (inherited from BufferingAppenderSkeleton) | Gets or sets a value that indicates whether the appender is lossy. |
LossyEvaluator (inherited from BufferingAppenderSkeleton) | Gets or sets the value of the ITriggeringEventEvaluator to use. |
Name (inherited from AppenderSkeleton) | Gets or sets the name of this appender. |
OnlyFixPartialEventData (inherited from BufferingAppenderSkeleton) | Obsolete. Gets or sets a value indicating if only part of the logging event data should be fixed. |
Password | The password to use to authenticate with the SMTP server |
Port | The port on which the SMTP server is listening |
Priority | Gets or sets the priority of the e-mail message |
SmtpHost | Gets or sets the name of the SMTP relay mail server to use to send the e-mail messages. |
Subject | Gets or sets the subject line of the e-mail message. |
Threshold (inherited from AppenderSkeleton) | Gets or sets the threshold Level of this appender. |
To | Gets or sets a semicolon-delimited list of recipient e-mail addresses. |
Username | The username to use to authenticate with the SMTP server |
RequiresLayout | This appender requires a log4net.Layout to be set. |
SmtpAppender Class | log4net.Appender Namespace