summaryrefslogtreecommitdiff
path: root/fml/lib/Mail/Message.pm
AgeCommit message (Collapse)Author
2002-08-03some debug codes (disabled now)fukachan
2002-07-02fix commentsfukachan
2002-05-18implement message_text_as_array_ref()fukachan
2002-05-11nuke \s*$fukachan
2002-05-11no no no, not reset $data_ptr unless bodyfukachan
2002-05-11fix: parser() should handle header only message.fukachan
2002-04-28validate by defined() morefukachan
2002-04-28check invalid multipart formatfukachan
2002-04-28remove module global variable $InComingMessagefukachan
2002-04-28new() not need $InComingMessage herefukachan
2002-04-28fix comment.fukachan
add loop label. FNF. more checks by defined() and whether the content is not empty.
2002-04-27check more data by defined()fukachan
2002-04-26check defined($InComingMessage) before $body_size estimationfukachan
2002-04-25check defined($InComingMessage) before $body_size estimationfukachan
2002-04-19cosmetics: white spacesfukachan
2002-04-13implement whole_message_as_string_ref()fukachan
2002-04-08fix/clean up documentsfukachan
2002-04-07define delete_message_part_link()tmu
2002-02-01remove $ENV{debug} based toggle flagsubdir-basefukachan
2002-01-18__next_message() -> _next_message_is()fukachan
__prev_message() -> _prev_message_is()
2002-01-16oops, forgotten. fix head_message() -> __head_message()fukachan
2002-01-16change Mail::Message naming convention.fukachan
public -> private: o head_message o last_message o next_message o prev_message prefix change: o rfc822_message_ -> whole_message_ o get_first_plaintext_message() -> find_first_plaintext_message() o get_encoding_mechanism() -> encoding_mechanism() o get_data_type() -> data_type() o get_data_type_list() -> data_type_list() renamed: o get_offset() - >offset_pair() o header_in_body_part() -> message_fields() o data_in_body_part() -> message_text() where we use RFC822 flabour naming convention. rfc822 says "message = fields + text" and rfc2047 says "message" as defined in RFC 822, with all header fields optional.
2002-01-13oops, fix typo (not remove =cut before the last 1;)fukachan
2002-01-13remove \s*$fukachan
2002-01-13reorder find() definition locationfukachan
2002-01-13use rfc822_message_ as prefix for method to manipulate the wholefukachan
message.
2002-01-13header_size() -> whole_message_header_size()fukachan
body_size() -> whole_message_body_size()
2002-01-13nuke C<> in =head2 function()fukachan
2002-01-13remove header(), data() methodfukachan
2002-01-13update comments, copyright. FNF-ify.fukachan
fix argument.
2001-12-22remove \s*$fukachan
2001-10-29_get_mime_header() checks offset boundaryfukachan
return default pair if overrun.
2001-10-27oops, should be s///mi to trap encodingefukachan
2001-10-27change method: data() -> data_in_body_part()fukachan
2001-10-21check defined $header->get(content-type)fukachan
2001-10-21check more defined() checkfukachan
2001-10-20bug fix: $InComingMessage should not local scope. modify it to SCALAR REFfukachan
bug fix: data_in_body_part() returns whole data not the first 512 bytes bug if $size is specified as argument, return the first $size bytes. feature: get_data_type_list() returns ARRAY of xxx/yyy by default for other method use. If under $debug mdoe, it shows verbose output.
2001-09-23implement get_offset():fukachan
return offset information in the data. return value is ARRAY
2001-09-23implement get_encoding_mechanism() in Mail::Message.fukachan
return encoding type for specified Mail::Message not whole mail. The return value is one of base64, quoted-printable or undef.
2001-08-23more debug to show {header,body}_sizefukachan
2001-08-02handle buffer (MIME part) without trailing "\n".fukachan
index("\n") can pick up both the last "\n" of the MIME part and "\n" of MIME delimiter string "CRLF delimiter" since index() searches the whole not a part of the mail. We need to identify these two cases restrictly.
2001-06-02clean up documentfukachan
2001-05-18parse() can accpet either file or fd (file descriptor).fukachan
2001-05-06update documents to reflect Mail::Message::*fukachan
2001-05-06replace create($me, $args) with _build_message($me, $args) sincefukachan
create() is ambiguous (what it creates ?). add several comments on what new() and _build_message() do.
2001-05-05nuke data_type().fukachan
replace data_type() with get_data_type(). define header_data_type() method to retrieve the data type of the whole mail message.
2001-04-15fix regexp to extrace type from content-type:fukachan
we check preamble exists or not more rigorously to avoid to misread broken(?) mulitpart data.
2001-04-15smtpsvc returns boundary = "boundary" formatfukachan
2001-04-15mime *type is case insensitive.fukachan
align types to be lowercase
2001-04-13we can handle broken multipart message now, I believe.fukachan
"broken" implies the folloing type message: * It says Content-Type: multipart but has no multipart block within it. * multipart without close-delimiter our analyzer loop does do { alloc a new part + delimiter } while ( not reach the end and non-zero data part ). modify _get_next_pos() which returns (maxlen, maxlen) if broken condition is satisfied. It means the next part has zero data, so the next "alloc a new part" process is ignored in analyzer loop.