Function xn_pop_QUIT
xn_pop_QUIT logs out of the POP3 server and closes the connection.
int xn_pop_QUIT(pop_context * context);
ParameterscontextPointer to the context of the current session. *context must have been initialized by xn_pop_client.
return valueReturns 0 if successful, otherwise SOCKET_ERROR. If an error occurred, call xn_getlasterror and xn_geterror_string to return the error value. Section Error Codes further describes each error. Possible values for this function are:
| Value |
Meaning |
| ESRVDOWN |
Server not responding. |
| ESRVBADRESP |
Server sent invalid response or error. |
POP3 Client
Function xn_pop_DELE
|