Command POP3_Logout

4D Internet Commands

POP3_Logout

version 6.5


POP3_Logout (pop3_ID) Integer

ParameterTypeDescription
pop3_IDLongintReference to a POP3 login
0 = Command successfully logs off

Function result Integer Error Code

Description

The POP3_Logout command will log out of the open POP3 session referred to by the pop3_ID variable. If the command successfully logs off the POP3 server a zero value is returned back as the current pop3_ID.

Logging out from a POP3 server will signal the server that you wish to commit any deletions you made during that session. To rollback any deletions you may have made prior to logout, use the POP3_Reset command prior to POP3_Logout.

pop3_ID is a long integer reference to an open session created with POP3_Login.

See Also

POP3_Reset.