Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

SmtpAppender.Password Property

The password to use to authenticate with the SMTP server

[Visual�Basic]
Public�Property�Password�As�String
[C#]
public�string�Password�{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 password will be ignored.

See Also

SmtpAppender Class | log4net.Appender Namespace