ImapClientCreateFolderAsync Method (IConnection, String, CancellationToken)

Creates a folder with the specified name

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Task CreateFolderAsync(
	IConnection connection,
	string folderName,
	CancellationToken token
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
folderName
Type: SystemString
Folder to be created
token
Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.

Return Value

Type: Task
Task object, with delegate for this operation
See Also