Click or drag to resize

SmtpClient Constructor (String, Int32)

Initializes new instance of SmtpClient class with specified host address and port number.

Namespace:  GemBox.Email.Smtp
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 13.0.35.1019
Syntax
public SmtpClient(
	string host,
	int port
)

Parameters

host
Type: SystemString
The address of the server.
port
Type: SystemInt32
An integer value between 1 and 65535 indicating remote server IP port. Value 0 indicates that client will use default port value for specified connection security level.
See Also