SmtpClient Constructor (String, Int32)

Initializes a new instance of the SmtpClient class.

Namespace:  Aspose.Email.Clients.Smtp
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public SmtpClient(
	string host,
	int port
)

Parameters

host
Type: SystemString
The name of the host used for SMTP.
port
Type: SystemInt32
The port used for SMTP.
See Also