Mail::Message Module: Utility Functions

Size

size() returns the size of the object not the whole message size.

is_empty() tells the object data is empty or not.

General Information

envelope_sender() returns the envelope sender as string.

data_type() returns the type of the object (a part of an object chain) not the whole message type (Content-Type: in the whole message header).

encoding_mechanism() returns the encoding mechanism of the object (a part of an object chain) as string. This is not of the whole message encoding mechanism.

Mail::Message Internals

num_paragraph() returns the number of paragraphs in the data of the object.

nth_paragraph(N) returns N-th paragrah as the string. Caution that N starts from 1 not 0.

header() returns the header part of a multipart block (header part of an object). data() returns the data part (data part of an object). Respectively, alias of message_fields($size) and message_text($size).

fml 8.0 (fml-devel) project homepage is www.fml.org/software/fml8/.
fml 4.0 project homepage is www.fml.org/software/fml4/.
about one floppy bsd routers, see www.bsdrouter.org/.
other free softwares are found at www.fml.org/software/.

author's homepage is www.fml.org/home/fukachan/.
Also, visit nuinui's world :) at www.nuinui.net.

For questions about FML, e-mail <fml-bugs@fml.org>.