SmtpAppender Properties | Apache log4net™ SDK Documentation

The SmtpAppender type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| Authentication | The mode to use to authentication with the SMTP server
| Bcc | Gets or sets a semicolon-delimited list of recipient e-mail addresses that will be blind carbon copied.
| BodyEncoding | Gets or sets the body encoding to be used.
| BufferSize | Gets or sets the size of the cyclic buffer used to hold the logging events. (Inherited from BufferingAppenderSkeleton.)
| Cc | Gets or sets a comma- or semicolon-delimited list of recipient e-mail addresses that will be carbon copied (use semicolon on .NET 1.1 and comma for later versions).
| EnableSsl | Enable or disable use of SSL when sending e-mail message
| ErrorHandler | Gets or sets the IErrorHandler for this appender. (Inherited from AppenderSkeleton.)
| Evaluator | Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately. (Inherited from BufferingAppenderSkeleton.)
| FilterHead | The filter chain. (Inherited from AppenderSkeleton.)
| Fix | Gets or sets a the fields that will be fixed in the event (Inherited from BufferingAppenderSkeleton.)
| From | Gets or sets the e-mail address of the sender.
| Layout | Gets or sets the ILayout for this appender. (Inherited from AppenderSkeleton.)
| LocationInfo | Obsolete. Obsolete
| Lossy | Gets or sets a value that indicates whether the appender is lossy. (Inherited from BufferingAppenderSkeleton.)
| LossyEvaluator | Gets or sets the value of the ITriggeringEventEvaluator to use. (Inherited from BufferingAppenderSkeleton.)
| Name | Gets or sets the name of this appender. (Inherited from AppenderSkeleton.)
| OnlyFixPartialEventData | Obsolete. Gets or sets a value indicating if only part of the logging event data should be fixed. (Inherited from BufferingAppenderSkeleton.)
| 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
| ReplyTo | Gets or sets the reply-to e-mail address.
| RequiresLayout | This appender requires a log4net.Layout to be set. (Overrides AppenderSkeleton RequiresLayout.)
| 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.
| SubjectEncoding | Gets or sets the subject encoding to be used.
| Threshold | Gets or sets the threshold Level of this appender. (Inherited from AppenderSkeleton.)
| To | Gets or sets a comma- or semicolon-delimited list of recipient e-mail addresses (use semicolon on .NET 1.1 and comma for later versions).
| Username | The username to use to authenticate with the SMTP server

Top
See Also

#### Reference

SmtpAppender Class
log4net.Appender Namespace