# Module Netpop

    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.