SmtpAppender Properties
SmtpAppender PropertiesApache log4net™ SDK Documentation

The SmtpAppender type exposes the following members.

Properties

  NameDescription
Public propertyAuthentication
The mode to use to authentication with the SMTP server
Public propertyBcc
Gets or sets a semicolon-delimited list of recipient e-mail addresses that will be blind carbon copied.
Public propertyBodyEncoding
Gets or sets the body encoding to be used.
Public propertyBufferSize
Gets or sets the size of the cyclic buffer used to hold the logging events.
(Inherited from BufferingAppenderSkeleton.)
Public propertyCc
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).
Public propertyEnableSsl
Enable or disable use of SSL when sending e-mail message
Public propertyErrorHandler
Gets or sets the IErrorHandler for this appender.
(Inherited from AppenderSkeleton.)
Public propertyEvaluator
Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately.
(Inherited from BufferingAppenderSkeleton.)
Public propertyFilterHead
The filter chain.
(Inherited from AppenderSkeleton.)
Public propertyFix
Gets or sets a the fields that will be fixed in the event
(Inherited from BufferingAppenderSkeleton.)
Public propertyFrom
Gets or sets the e-mail address of the sender.
Public propertyLayout
Gets or sets the ILayout for this appender.
(Inherited from AppenderSkeleton.)
Public propertyLocationInfo Obsolete.
Obsolete
Public propertyLossy
Gets or sets a value that indicates whether the appender is lossy.
(Inherited from BufferingAppenderSkeleton.)
Public propertyLossyEvaluator
Gets or sets the value of the ITriggeringEventEvaluator to use.
(Inherited from BufferingAppenderSkeleton.)
Public propertyName
Gets or sets the name of this appender.
(Inherited from AppenderSkeleton.)
Public propertyOnlyFixPartialEventData Obsolete.
Gets or sets a value indicating if only part of the logging event data should be fixed.
(Inherited from BufferingAppenderSkeleton.)
Public propertyPassword
The password to use to authenticate with the SMTP server
Public propertyPort
The port on which the SMTP server is listening
Public propertyPriority
Gets or sets the priority of the e-mail message
Public propertyReplyTo
Gets or sets the reply-to e-mail address.
Protected propertyRequiresLayout
This appender requires a log4net.Layout to be set.
(Overrides AppenderSkeletonRequiresLayout.)
Public propertySmtpHost
Gets or sets the name of the SMTP relay mail server to use to send the e-mail messages.
Public propertySubject
Gets or sets the subject line of the e-mail message.
Public propertySubjectEncoding
Gets or sets the subject encoding to be used.
Public propertyThreshold
Gets or sets the threshold Level of this appender.
(Inherited from AppenderSkeleton.)
Public propertyTo
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).
Public propertyUsername
The username to use to authenticate with the SMTP server
Top
See Also

Reference