Next: , Previous: Address Functions, Up: libmu_scm


3.3.2 Mailbox Functions

— Scheme Function: mu-mailbox-open URL MODE

Opens a mailbox specified by URL.

— Scheme Function: mu-mailbox-close MBOX

Closes mailbox MBOX.

— Scheme Function: mu-mailbox-get-url MBOX

Returns the URL of the mailbox.

— Scheme Function: mu-mailbox-get-port MBOX MODE

Returns a port associated with the contents of the MBOX. MODE is a string defining operation mode of the stream. It may contain any of the two characters: `r' for reading, `w' for writing.

— Scheme Function: mu-mailbox-get-message MBOX MSGNO

Retrieve from MBOX message # MSGNO.

— Scheme Function: mu-mailbox-messages-count MBOX

Returns number of messages in the mailbox.

— Scheme Function: mu-mailbox-expunge MBOX

Expunges deleted messages from the mailbox.

— Scheme Function: mu-mailbox-url MBOX

Returns the URL of the mailbox

— Scheme Function: mu-mailbox-append-message MBOX MESG

Appends the message to the mailbox