RenameIMAPMailFolder (open)
This function will rename a mail folder
Syntax
LOADLIB "wh::internet/imap.whlib";
BOOLEAN FUNCTION RenameIMAPMailFolder(INTEGER connectionid, STRING oldpathname, STRING newpathname)Parameters
INTEGER connectionidID of the connection (opened by OpenIMAPAccount)
STRING oldpathnameOld name of the file
STRING newpathnameNew name of the file
Return value
BOOLEANboolean Indicating if mail folder was succesfully renamed