Imap.Unsubscribe Method
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9083)
Unsubscribe(String)
Unsubscribes from a specified folder, removing it to a list of active folders that appear in the folder listings with ImapFolderListMode set to Subscribed.
Declaration
public void Unsubscribe(string folder)
Parameters
Type | Name | Description |
---|---|---|
String | folder | Folder to unsubscribe from. |
Remarks
The only difference between those folders that are subscribed and those that aren't is that a call to GetFolderList(String, ImapFolderListMode, Boolean) using the ImapFolderListMode.Subscribed will only return the subscribed (active) folders. This has absolutely NOTHING to do with notifications.
This method represents IMAP UNSUBSCRIBE command.