chickadee » remote-mailbox » remote-mailbox-service

remote-mailbox-service NAME #!optional CREATE? DEBUGprocedure

This is a convenience interface and only recommended for the simplest of situations.

Returns the mailbox for NAME.

The DEBUG argument is passed on to tcp-server which will print tcp diagnostics with DEBUG as a prefix. The other parameters to make-remote-mailbox-server are defaulted. The default server is created and run in a separate thread upon the first call.

The AUTO-CREATE? argument is passed on to server-local-mailbox.

To receive remote messages:

(mailbox-receive! (remote-mailbox-service NAME))