[HOME] [github] [twitter] [blog] [fml4] [fml8] [北海道] Powered by NetBSD and [nuinui.net] .

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.

[HOME] [github] [twitter] [blog] [fml4] [fml8] [北海道] Powered by NetBSD and [nuinui.net] .
Copyright (C) 1993-2022 Ken'ichi Fukamachi mail:< fukachan at fml.org >