Next: MIME Functions, Previous: Mailbox Functions, Up: libmu_scm
Sets new VALUE to the header HEADER of the message MESG. If the HEADER is already present in the message its value is replaced with the supplied one if the optional REPLACE is
#t
. Otherwise new header is created and appended.
Returns the sender email address for the message MESG.
Returns the header value of the HEADER in the MESG.
Returns the list of headers in the MESG. If optional HEADERS is specified it should be a list of header names to restrict return value to.
Set the headers in the message MESG from LIST. LIST is a list of
(cons
HEADER VALUE)
. Optional parameter REPLACE specifies whether the new header values should replace the headers already present in the message.
Mark given message as deleted. Optional FLAG allows to toggle deleted mark. The message is deleted if it is
#t
and undeleted if it is#f
.
Set the given attribute of the message. If optional VALUE is
#f
, the attribute is unset.
Set the given user attribute of the message. If optional 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 FULL argument 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).