MoveIMAPEmail (open)
This function will move a mail folder
Syntax
LOADLIB "wh::internet/imap.whlib";
BOOLEAN FUNCTION MoveIMAPEmail(INTEGER connectionid, INTEGER uid, STRING srcmailfolder, STRING dstmailfolder)Parameters
INTEGER connectionidID of the connection (opened by OpenIMAPAccount)
INTEGER uidUID of the mail message to copy
STRING srcmailfolderName of the mail folder to move from
STRING dstmailfolderName of the mail folder to move to
Return value
BOOLEANboolean Indicating if the email was moved succesfully