The mode to use to authentication with the SMTP server
Namespace: log4net.AppenderAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
public SmtpAppender..::..SmtpAuthentication Authentication { get; set; }
public SmtpAppender..::..SmtpAuthentication Authentication { get; set; }
Public Property Authentication As SmtpAppender..::..SmtpAuthentication
Get
Set
Public Property Authentication As SmtpAppender..::..SmtpAuthentication
Get
Set
public:
property SmtpAppender..::..SmtpAuthentication Authentication {
SmtpAppender..::..SmtpAuthentication get ();
void set (SmtpAppender..::..SmtpAuthentication value);
}
public:
property SmtpAppender..::..SmtpAuthentication Authentication {
SmtpAppender..::..SmtpAuthentication get ();
void set (SmtpAppender..::..SmtpAuthentication value);
}
Property Value
Type:
SmtpAppender SmtpAuthentication 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.