Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

SmtpAppender.Port Property

The port on which the SMTP server is listening

[Visual�Basic]
Public�Property�Port�As�Integer
[C#]
public�int�Port�{get;�set;}

Remarks

CAUTION���Server Port is only available on the MS .NET 1.1 runtime.

The port on which the SMTP server is listening. The default port is 25. The Port can only be changed when running on the MS .NET 1.1 runtime.

See Also

SmtpAppender Class | log4net.Appender Namespace