CopyIMAPEmail (open)
This function will copy an email
Syntax
LOADLIB "wh::internet/imap.whlib";
BOOLEAN FUNCTION CopyIMAPEmail(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 copy from
STRING dstmailfolderName of the mail folder to copy to
Return value
BOOLEANboolean Indicating if the email was copied succesfully