NAME FML::Filter::TextPlain - analyze the first plain text part in message. SYNOPSIS DESCRIPTION "FML::Filter::TextPlain" is a collectoin of filter rules based on mail body content, which tuned for plain texts. METHODS new() constructor. set_rules( $rules ) overwrite rules by specified @$rules ($rules is ARRAY_REF). body_check($msg) $msg is "Mail::Message" object. "Usage": use FML::Filter::TextPlain; my $obj = new FML::Filter::TextPlain; my $msg = $curproc->incoming_message_body(); $obj->body_check($msg); if ($obj->error()) { # do something for wrong formated message ... } cleanup_buffer($args) remove some special syntax pattern for further check. For example, the pattern is a mail address. We remove it and check the remained buffer whether it is safe or not. CODING STYLE See "http://www.fml.org/software/FNF/" on fml coding style guide. AUTHOR Ken'ichi Fukamachi COPYRIGHT Copyright (C) 2001,2002,2003,2004,2005,2006 Ken'ichi Fukamachi All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. HISTORY FML::Filter::TextPlain first appeared in fml8 mailing list driver package. See "http://www.fml.org/" for more details.