Hello, Here is an example of a small programme that retrive your mail from a POP3 server to add then in a standard unix mailbox file. I think it is an intersting exemple, and it even may be usefull in some situation ! Although it works for me, it may have bugs ... use it at your own risk ! To compile the program, just type ocamlc -o popget -custom unix.cma popget.ml -cclib -lunix To use it type popget server_name [-d] [-p port_number] [-l userid] [-P password] [-m mailbox] [-b] [-s sec] where server_name : is the name of the pop3 server -d : means delete message from serve (default is none) -p port: specify the pop3 port (default 110) -l userid: specify the pop3 user name (default $USER) -P passwd: specify the pop3 passwd (default "") -m mailbox: specify the unix mailbox (default /var/spool/mail/$USER) -b : run in background and check mail periodicaly (default false) -s time : when -b is given: the number of seconds between chack (default 300) -- Christophe Raffalli Laboratoire de Mathématique / LAMA Université de Savoie UFR SFA, Campus Scientifique 73376, Le Bourget du Lac CEDEX, FRANCE. URL: http://www.logique.jussieu.fr/www.raffalli email: Christophe.Raffalli@univ-savoie.fr