Mail::Server::IMAP4::Search - select messages within a IMAP folder


NAME

Mail::Server::IMAP4::Search - select messages within a IMAP folder (not completed)


INHERITANCE

 Mail::Server::IMAP4::Search
   is a Mail::Box::Search
   is a Mail::Reporter


SYNOPSIS

 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)) {...}


DESCRIPTION

THIS PACKAGES IS NOT IMPLEMENTED YET... (it's waiting for a volunteer)


METHODS

Constructors

Mail::Server::IMAP4::Search->new(OPTIONS)

 Option      Defined in       Default      
 binaries    L<Mail::Box::Search>  <false>      
 decode      L<Mail::Box::Search>  <true>       
 delayed     L<Mail::Box::Search>  <true>       
 deleted     L<Mail::Box::Search>  <false>      
 deliver     L<Mail::Box::Search>  undef        
 in          L<Mail::Box::Search>  C<'BODY'>    
 label       L<Mail::Box::Search>  undef        
 limit       L<Mail::Box::Search>  C<0>         
 log         L<Mail::Reporter>  C<'WARNINGS'>
 logical     L<Mail::Box::Search>  C<'REPLACE'> 
 multiparts  L<Mail::Box::Search>  <true>       
 trace       L<Mail::Reporter>  C<'WARNINGS'>

. 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

Searching

$obj->inBody(PART, BODY)

See Searching in the Mail::Box::Search manpage

$obj->inHead(PART, HEAD)

See Searching in the Mail::Box::Search manpage

$obj->search(FOLDER|THREAD|MESSAGE|ARRAY-OF-MESSAGES)

See Searching in the Mail::Box::Search manpage

$obj->searchPart(PART)

See Searching in the Mail::Box::Search manpage

The Results

$obj->printMatch([FILEHANDLE], HASH)

See The Results in the Mail::Box::Search manpage

Error handling

$obj->AUTOLOAD

See Error handling in the Mail::Reporter manpage

$obj->addReport(OBJECT)

See Error handling in the Mail::Reporter manpage

$obj->defaultTrace([LEVEL]|[LOGLEVEL, TRACELEVEL]|[LEVEL, CALLBACK])

Mail::Server::IMAP4::Search->defaultTrace([LEVEL]|[LOGLEVEL, TRACELEVEL]|[LEVEL, CALLBACK])

See Error handling in the Mail::Reporter manpage

$obj->errors

See Error handling in the Mail::Reporter manpage

$obj->log([LEVEL [,STRINGS]])

Mail::Server::IMAP4::Search->log([LEVEL [,STRINGS]])

See Error handling in the Mail::Reporter manpage

$obj->logPriority(LEVEL)

Mail::Server::IMAP4::Search->logPriority(LEVEL)

See Error handling in the Mail::Reporter manpage

$obj->logSettings

See Error handling in the Mail::Reporter manpage

$obj->notImplemented

See Error handling in the Mail::Reporter manpage

$obj->report([LEVEL])

See Error handling in the Mail::Reporter manpage

$obj->reportAll([LEVEL])

See Error handling in the Mail::Reporter manpage

$obj->trace([LEVEL])

See Error handling in the Mail::Reporter manpage

$obj->warnings

See Error handling in the Mail::Reporter manpage

Cleanup

$obj->DESTROY

See Cleanup in the Mail::Reporter manpage

$obj->inGlobalDestruction

See Cleanup in the Mail::Reporter manpage


DIAGNOSTICS

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.


REFERENCES

See the MailBox website at http://perl.overmeer.net/mailbox/ for more details.


COPYRIGHTS

Distribution version 2.059. 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.

 Mail::Server::IMAP4::Search - select messages within a IMAP folder