ImapClient Constructor (String, Int32, String, ITokenProvider)

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,
	ITokenProvider tokenProvider
)

Parameters

host
Type: SystemString
The host name
port
Type: SystemInt32
The port number
username
Type: SystemString
The user name
tokenProvider
Type: Aspose.Email.ClientsITokenProvider
TokenProvider allowing to retrieve access token.
See Also