Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

SmtpAppender.Username Property

The username to use to authenticate with the SMTP server

[Visual�Basic]
Public�Property�Username�As�String
[C#]
public�string�Username�{get;�set;}

Remarks

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

SmtpAppender Class | log4net.Appender Namespace