CreateIMAPMailfolder (open)

This function will create a mail folder on the IMAP server

Syntax

LOADLIB "wh::internet/imap.whlib";

BOOLEAN FUNCTION CreateIMAPMailfolder(INTEGER connectionid, STRING foldername)

Parameters

INTEGER connectionid

ID of the connection (opened by OpenIMAPAccount)

STRING foldername

String name of the new mail folder

Return value

BOOLEAN

Return TRUE if the IMAP mail folder was created succesfully