SMTP port; if empty, uses setting from web.config.

Namespace: MonoSoftware.Core.Mail
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
public int Port { get; set; }
Visual Basic
Public Property Port As Integer
	Get
	Set
Visual C++
public:
virtual property int Port {
	int get () sealed;
	void set (int value) sealed;
}
F#
abstract Port : int with get, set
override Port : int with get, set

Property Value

Type: Int32

Implements

IMailSender..::..Port

See Also