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 connectionid
ID of the connection (opened by OpenIMAPAccount)
STRING mailfolder
The mail folder where the message is stored.
INTEGER uid
ID of the message in the mail folder
Return value
RECORD
Record of the email (only if the email was found), check the field email.error (which only exists in case of an error)