Next: MIME Functions, Previous: Mailbox Functions, Up: libmu_scm
Sets new value to the header header of the message mesg. If header is already present in the message its value is replaced with the suplied one iff the optional replace is #t. Otherwise, a new header is created and appended.
Returns email address of the sender of the message mesg.
Returns value of the header header from the message mesg.
Returns the list of headers in the message mesg. Optional argument headers gives a list of header names to restrict return value to.
Set the headers in the message mesg from list list is a list of conses (cons HEADER VALUE). The function sets these headers in the message mesg. Optional parameter replace specifies whether the new header values should replace the headers already present in the message.
Mark the message mesg as deleted. Optional argument flag allows to toggle deletion mark. The message is deleted if it is
#t
and undeleted if it is#f
Return value of the attribute flag of the message mesg.
Set the attribute flag of the message mesg. If optional value is #f, the attribute is unset.
Return the value of the user attribute flag from the message mesg.
Set the given user attribute flag in the message mesg. If optional argumen value is ‘#f’, the attribute is unset.
Returns a port associated with the given mesg. mode is a string defining operation mode of the stream. It may contain any of the two characters: ‘r’ for reading, ‘w’ for writing. If optional argument full is specified, it should be a boolean value. If it is ‘#t’ then the returned port will allow access to any part of the message (including headers). If it is
#f
then the port accesses only the message body (the default).
Returns number of parts in a multipart MIME message. Returns
#f
if the argument is not a multipart message.
Returns part #part from a multipart MIME message mesg.