SmtpAppenderUsername Property Apache log4net™ SDK Documentation
The username to use to authenticate with the SMTP server

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax

public string Username { get; set; }

Property Value

Type: String
Remarks

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

A Username and Password must be specified when Authentication is set to Basic, otherwise the username will be ignored.

See Also

Reference