PyIMAPIFolder.CreateFolder

PyIMAPIFolder = CreateFolder(folderType, folderName , folderComment , iid , flags )

Creates a folder object.

Parameters

folderType : int

The type of folder to create

folderName : string

The name of the folder.

folderComment=None : string

A comment for the folder or None

iid=None : PyIID

The IID of the object to return. Should usually be None.

flags=0 : int