SmtpAppenderAuthentication Property Apache log4net™ SDK Documentation
The mode to use to authentication with the SMTP server

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 4.0

public SmtpAppenderSmtpAuthentication Authentication { get; set; }

Property Value

Type: SmtpAppenderSmtpAuthentication

Caution note Caution
Authentication is only available on the MS .NET 1.1 runtime.

Valid Authentication mode values are: None, Basic, and Ntlm. The default value is None. When using Basic you must specify the Username and Password to use to authenticate. When using Ntlm the Windows credentials for the current thread, if impersonating, or the process will be used to authenticate.

See Also