SmtpAppenderPort Property Apache log4net™ SDK Documentation
The port on which the SMTP server is listening

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

public int Port { get; set; }

Property Value

Type: Int32
Remarks

Caution note 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

Reference