Copyright (C) 2000-2012 |
Manpages Mail::FilterSection: User Contributed Perl Documentation (3)Updated: 2002-03-23 Index Return to Main Contents NAMEMail::Filter - Filter mail through multiple subroutinesSYNOPSISuse Mail::Filter; $filter = new Mail::Filter( \&filter1, \&filter2 ); $mail = new Mail::Internet( [<>] ); $mail = $filter->filter($mail); $folder = new Mail::Folder( .... ); $filter->filter($folder); DESCRIPTION"Mail::Filter" provides an interface to filtering Email through multiple subroutines."Mail::Filter" filters mail by calling each filter subroutine in turn. Each filter subroutine is called with two arguments, the first is the filter object and the second is the mail or folder object being filtered. The result from each filter sub is passed to the next filter as the mail object. If a filter subroutine returns undef, then "Mail::Filter" will abort and return immediately. The function returns the result from the last subroutine to operate on the mail object. CONSTRUCTOR
METHODS
SEE ALSOMail::Internet Mail::FolderAUTHORGraham Barr.Maintained by Mark Overmeer <mailtools@overmeer.net> COPYRIGHTCopyright (c) 1997-2001 Graham Barr. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
IndexThis document was created by man2html, using the manual pages. Time: 14:06:50 GMT, April 26, 2024 |