Next: , Previous: Message Functions, Up: libmu_scm


3.3.4 MIME Functions

— Scheme procedure: mu-mime-create flags mesg

Creates a new MIME object. Both arguments are optional. flags specifies the type of the object to create (‘0’ is a reasonable value). mesg gives the message to create the MIME object from.

— Scheme procedure: mu-mime-multipart? mime

Returns #t if mime is a multipart object.

— Scheme procedure: mu-mime-get-num-parts mime

Returns number of parts in the mime object mime.

— Scheme procedure: mu-mime-get-part mime num

Returns numth part from the mime object mime.

— Scheme procedure: mu-mime-add-part mime mesg

Adds mesg to the mime object mime.

— Scheme procedure: mu-mime-get-message mime

Converts mime object mime to a message.