Sets the port on which connection will be made.

Namespace: Limilabs.Mail.Fluent
Assembly: Mail (in Mail.dll) Version: 3.0.12102.1426

Syntax

C#
INewSmtp OnPort(
	int port
)
Visual Basic
Function OnPort ( _
	port As Integer _
) As INewSmtp
Visual C++
INewSmtp^ OnPort(
	int port
)

Parameters

port
Type: System..::..Int32
Port number.

Return Value

SMTP connection configuration.

See Also