Command IMAP_Logout

4D Internet Commands

IMAP_Logout

version 6.8.1


IMAP_Logout (imap_ID) Integer

ParameterTypeDescription
imap_IDLongintReference 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

IMAP_Login.