OpenIMAPEmail (open)
This function will open a message (email) from the IMAP server
Syntax
LOADLIB "wh::internet/imap.whlib";
RECORD FUNCTION OpenIMAPEmail(INTEGER connectionid, STRING mailfolder, INTEGER uid)Parameters
INTEGER connectionidID of the connection (opened by OpenIMAPAccount)
STRING mailfolderThe mail folder where the message is stored.
INTEGER uidID of the message in the mail folder
Return value
RECORDRecord of the email (only if the email was found), check the field email.error (which only exists in case of an error)