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

# Mail::Message Module: Header Manipulations

dup_header() method duplicates only header part of a chain and left the body part as it is. The new chain has different head (header object) but others begining from the second part is same as the original chain.

                  |<--------------- mail body ------------->
    header0 ----> part1 -> part2 -> ...
                   A
                   |
    dup_header0 ---

whole_message_header() returns the header object of the chain. The return value is a Mail::Message object not string.

header_data_type() returns the type of the whole message as string. It tells whether this message is text or multipart.

Prev | Home | Next
Mail::Message Module: Create A New Object | Up | Mail::Message Module: Manipulate Messabe Body

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