PyIMAPIFolder.EmptyFolder

int = EmptyFolder(uiParam, progress , flags )

deletes all messages and subfolders from a folder without deleting the folder itself.

Parameters

uiParam : int

A HWND for the progress

progress : PyIMAPIProgress

A progress object, or None

flags : int