Mail::Message モジュール: 解析する

parse() メソッドは引数で与えられたファイル(名)かファイルディスクリプタ に対しメッセージの解析を試みます。

data_type_list() は鎖の列の情報を返します。情報は ARRAY REFERENCE の形 で返されます。たとえば MIME/Multipart は次のように表現されています (ちなみに、以下の表示はデバッグモードで出力されるものです)。

  type[ 1]: text/rfc822-headers       | multipart/mixed
  type[ 2]: multipart/mixed           | multipart/mixed
  type[ 3]: multipart.preamble        | multipart/mixed
  type[ 4]: multipart.delimiter       | multipart/mixed
  type[ 5]: text/plain                | multipart/mixed
  type[ 6]: multipart.delimiter       | multipart/mixed
  type[ 7]: image/gif                 | multipart/mixed
  type[ 8]: multipart.close-delimiter | multipart/mixed
  type[ 9]: text/plain                | multipart/mixed
真中の列が各オブジェクトの種別を表しています。 右端はメール全体の mime type です。

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