| OpenIMAPEmail |
| |
This function will open a message (email) from the IMAP server |
| |
| Library |
 |
wh::internet/imap.whlib |
| |
| Syntax |
 |
PUBLIC RECORD FUNCTION OpenIMAPEmail (INTEGER connectionid,STRING mailfolder,INTEGER message) |
| |
| Parameters |
 |
| connectionid |
 |
ID of the connection (opened by OpenIMAPAccount) |
 |
| mailfolder |
 |
The mail folder where the message is stored. |
 |
| message |
 |
ID of the message in the mail folder |
 |
|
| |
| Returns |
 |
Record of the email (only if the email was found), check the field email.error (which only exists in case of an error) [[[cell.date Date]]] the email was sent [[[cell.header Header]]] of the email message [[[cell.data Body]]] of the email message |
| |