version 6.8.1
IMAP_Logout (imap_ID) Integer
Parameter | Type | Description | |
imap_ID | Longint | Reference to an IMAP login | |
0 = Command successfully logs off | |||
Function result | Integer | Error code |
Description
The IMAP_Logout command will log off of the open IMAP connection referred to by the imap_ID variable. If the command successfully logs off the IMAP server, a zero value is returned back as the current imap_ID.
Note: Closing a connection automatically closes the current session.
imap_ID is a long integer reference to an open connection created with IMAP_Login.
See Also