Chapter 49. Mail::Message module

Table of Contents
Mail::Message overview
Mail::Message module: analyze
Mail::Message module: create a new object
Mail::Message module: header manipulations
Mail::Message module: manipulate messabe body
Mail::Message module: search
Mail::Message module: print
Mail::Message module: utility functions
Refernces

Mail::Message overview

Mail::Message object provides several methods to analyze a message and manipulate messages or parts of a message.

Precisely speaking, this module analyzes the specified mail message and build a chain of Mail::Message objects.

If not multipart

   header -> body

else if multipart

   header -> preamble -> part1 -> part2 -> trailor
The link between objects is double link list. Mail::Message class provides several methods to manipulate these structures.

Each part of this chain is a Mail::Message object. In other words, one mail message consits of a chain of plural Mail::Message objects in fml8 internal.

For example, "header" is a Mail::Message, which type is text/rfc822-headers and the data is stored as Mail::Header object. Instead "part1" is a Mail::Message object, which type is text/plain and the data is reference to the message string.

References: Mail::Message module manual.

fml 8.0 (fml-devel) project homepage is www.fml.org/software/fml8/.
fml 4.0 project homepage is www.fml.org/fml/menu.ja.html.
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>.