fml 8 tutorial
Prev | Chapter 51. Mail::Message Module | Next

# Mail::Message Module: Manipulate Messabe Body

Consider the following object chain.

    If not multipart

    header -> body

    else if multipart

    header -> preamble -> part1 -> part2 -> ... -> trailor

header_data_type() return the type of the whole type. It is known from Content-Type: in the whole message header.

whole_message_body() returns body or part1 if multipart. whole_message_body_head() is same.

find_first_plaintext_message($args) return the first text/plain type object in the chain. This is useful in filter codes since filter system checks the first text field in a lot of cases.

Prev | Home | Next
Mail::Message Module: Header Manipulations | Up | Mail::Message Module: Search

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>.