chickadee » remote-mailbox » local-mailbox-for-server

local-mailbox-for-server REMOTE-MAILBOX-SERVER NAMEprocedure

Returns the mailbox of NAME for REMOTE-MAILBOX-SERVER (a mailbox object as returned by the procedure make-mailbox). Should the mailbox not exist it will be created if the REMOTE-MAILBOX-SERVER has a true AUTO-CREATE? flag, otherwise returns #f.

To receive remote messages:

(mailbox-receive! (local-mailbox-for-server REMOTE-MAILBOX-SERVER NAME))