Xbasic
EMAIL_POP_CLOSE Function
Syntax
Result_Flag as L = email_pop_close(P pSocket )
Arguments
- pSocketPointer
A pointer variable that is populated by EMAIL_POP_OPEN().
Returns
- Result_FlagLogical
.T. = The connection was closed gracefully. .F. = The connection was forced closed with .CLOSE().
Description
The EMAIL_POP_CLOSE() function attempts to gracefully close a connection with a POP3 server.
Example
? email_pop_open(pSocket, "mail.mycompany.com", "john_doe", "sneaky") = .T. ? email_pop_close(pSocket) = .T.
See Also