Figure: The FolderOperations Class
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 | |
---|---|---|---|---|
connection | MailConnection | In | ||
parentFolder | String | In | Specifies the name of the parent folder.
| |
folder | String | In | Specifies the name of the folder. | |
return | Boolean | Return | True, if the folder has been created. False otherwise. |