ImapClient Constructor (String, Int32, String, String, RemoteCertificateValidationCallback)

Initializes a new instance of the ImapClient class

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public ImapClient(
	string host,
	int port,
	string username,
	string password,
	RemoteCertificateValidationCallback userCertificateValidationCallback
)

Parameters

host
Type: SystemString
The host name
port
Type: SystemInt32
The portnumber
username
Type: SystemString
The user name
password
Type: SystemString
The password
userCertificateValidationCallback
Type: System.Net.SecurityRemoteCertificateValidationCallback
System.Net.Security.RemoteCertificateValidationCallback
See Also