ExistFolder

ImapClient.ExistFolder method (1 of 4)

Check whether this folder exists

public bool ExistFolder(string folderName)
Parameter Type Description
folderName String Name of the folder

Return Value

Returns true if the folder is existing, otherwise returns false

See Also


ImapClient.ExistFolder method (2 of 4)

Check whether this folder exists, extract folder info if so

public bool ExistFolder(string folderName, out ImapFolderInfo folderInfo)
Parameter Type Description
folderName String Name of the folder
folderInfo ImapFolderInfo& Folder information

Return Value

Returns true if the folder is existing, otherwise returns false

See Also


ImapClient.ExistFolder method (3 of 4)

Check whether this folder exists

public bool ExistFolder(IConnection connection, string folderName)
Parameter Type Description
connection IConnection Connection to a server
folderName String Name of the folder

Return Value

Returns true if the folder is existing, otherwise returns false

See Also


ImapClient.ExistFolder method (4 of 4)

Check whether this folder exists, extract folder info if so

public bool ExistFolder(IConnection connection, string folderName, out ImapFolderInfo folderInfo)
Parameter Type Description
connection IConnection Connection to a server
folderName String Name of the folder
folderInfo ImapFolderInfo& Folder information

Return Value

Returns true if the folder is existing, otherwise returns false

See Also