Skip to main content
Skip table of contents

Creating a Folder

The method for creating a folder is provided by the FolderOperations class:

Figure: The FolderOperations Class

Creating a folder

A folder can be created by specifying its name and parent folder and calling the createFolder method:

Parameters of method createFolder in detail:

Name
Type
Direction
Description
connectionMailConnectionInSpecifies connection details such as server name, protocol etc. (see Mail Connection).
parentFolderStringIn

Specifies the name of the parent folder.

If the parent folder is omitted (NULL or empty string), the new folder is created in the default folder of the server.

folderStringInSpecifies the name of the folder.
returnBooleanReturnTrue, if the folder has been created. False otherwise.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.