Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

SmtpAppender�Properties

The properties of the SmtpAppender class are listed below. For a complete list of SmtpAppender class members, see the SmtpAppender Members topic.

Public Instance Properties

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.
BufferSize (inherited from BufferingAppenderSkeleton) Gets or sets the size of the cyclic buffer used to hold the logging events.
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 (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.
LocationInfoObsolete. 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
ReplyTo Gets or sets the reply-to e-mail address.
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 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

Protected Instance Properties

RequiresLayout This appender requires a log4net.Layout to be set.

See Also

SmtpAppender Class | log4net.Appender Namespace