module Netpop: sig .. end
This is an interface for the Post Office Protocol - Version 3
(POP3) as specifed by RFC 1939. The protocol is intended to permit
a workstation to dynamically access a maildrop on a server host in
a useful fashion.
type state = [ `Authorization | `Transaction | `Update ]
exception Protocol_error
exception Err_status of string
exception Bad_state
val tcp_port : int
Default TCP port for POP version 3
class client : Netchannels.in_obj_channel -> Netchannels.out_obj_channel -> object .. end
The class client implements the POP3 protocol.
class connect : ?proxy:#Uq_engines.client_endpoint_connector -> Uq_engines.connect_address -> float -> client
connect addr timeout: Connects with the server at addr, and
configure that I/O operations time out after timeout seconds of
waiting.