ImapClientDeleteFolderAsync Method (IConnection, String)

Deletes a specified folder. This method represents IMAP DELETE command

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

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
folderName
Type: SystemString
Folder to be deleted

Return Value

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