DeleteIMAPMailFolder

This function will delete a mail folder

Syntax

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

BOOLEAN FUNCTION DeleteIMAPMailFolder(INTEGER connectionid, STRING mailfolder)

Parameters

INTEGER connectionid

ID of the connection (opened by OpenIMAPAccount)

STRING mailfolder

Name of the mail folder to remove

Return value

BOOLEAN

boolean Indicating if the mail folder was succesfully deleted