Mail::Server::IMAP4::Search - select messages within a IMAP folder (not completed)
Mail::Server::IMAP4::Search is a Mail::Box::Search is a Mail::Reporter
use Mail::Box::Manager; my $mgr = Mail::Box::Manager->new; my $folder = $mgr->open('imap4:Inbox'); my $filter = Mail::Server::IMAP4::Search->new ( ...to be defined... ); my @msgs = $filter->search($folder); if($filter->search($message)) {...}
THIS PACKAGES IS NOT IMPLEMENTED YET... (it's waiting for a volunteer)
Mail::Server::IMAP4::Search->new(OPTIONS)
-Option --Defined in --Default binaries Mail::Box::Search <false> decode Mail::Box::Search <true> delayed Mail::Box::Search <true> deleted Mail::Box::Search <false> deliver Mail::Box::Search undef in Mail::Box::Search 'BODY' label Mail::Box::Search undef limit Mail::Box::Search 0 log Mail::Reporter 'WARNINGS' logical Mail::Box::Search 'REPLACE' multiparts Mail::Box::Search <true> trace Mail::Reporter 'WARNINGS'
'BODY'
0
'WARNINGS'
'REPLACE'
. binaries BOOLEAN
. decode BOOLEAN
. delayed BOOLEAN
. deleted BOOLEAN
. deliver undef|CODE|'DELETE'
. in 'HEAD'|'BODY'|'MESSAGE'
. label STRING
. limit NUMBER
. log LEVEL
. logical 'REPLACE'|'AND'|'OR'|'NOT'|'AND NOT'|'OR NOT'
. multiparts BOOLEAN
. trace LEVEL
$obj->inBody(PART, BODY)
See "Searching" in Mail::Box::Search
$obj->inHead(PART, HEAD)
$obj->search(FOLDER|THREAD|MESSAGE|ARRAY-OF-MESSAGES)
$obj->searchPart(PART)
$obj->printMatch([FILEHANDLE], HASH)
See "The Results" in Mail::Box::Search
$obj->AUTOLOAD
See "Error handling" in Mail::Reporter
$obj->addReport(OBJECT)
$obj->defaultTrace([LEVEL]|[LOGLEVEL, TRACELEVEL]|[LEVEL, CALLBACK])
Mail::Server::IMAP4::Search->defaultTrace([LEVEL]|[LOGLEVEL, TRACELEVEL]|[LEVEL, CALLBACK])
$obj->errors
$obj->log([LEVEL [,STRINGS]])
Mail::Server::IMAP4::Search->log([LEVEL [,STRINGS]])
$obj->logPriority(LEVEL)
Mail::Server::IMAP4::Search->logPriority(LEVEL)
$obj->logSettings
$obj->notImplemented
$obj->report([LEVEL])
$obj->reportAll([LEVEL])
$obj->trace([LEVEL])
$obj->warnings
$obj->DESTROY
See "Cleanup" in Mail::Reporter
$obj->inGlobalDestruction
Error: Package $package does not implement $method.
Fatal error: the specific package (or one of its superclasses) does not implement this method where it should. This message means that some other related classes do implement this method however the class at hand does not. Probably you should investigate this and probably inform the author of the package.
See the MailBox website at http://perl.overmeer.net/mailbox/ for more details.
Distribution version 2.066. Written by Mark Overmeer (mark@overmeer.net). See the ChangeLog for other contributors.
Copyright (c) 2001-2003 by the author(s). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Mail::Box, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::Box
CPAN shell
perl -MCPAN -e shell install Mail::Box
For more information on module installation, please visit the detailed CPAN module installation guide.