1Mail::Server::IMAP4::SeUasrecrh(C3o)ntributed Perl DocumMeanitla:t:iSoenrver::IMAP4::Search(3)
2
3
4
6 Mail::Server::IMAP4::Search - select messages within a IMAP folder (not
7 completed)
8
10 Mail::Server::IMAP4::Search
11 is a Mail::Box::Search
12 is a Mail::Reporter
13
15 use Mail::Box::Manager;
16 my $mgr = Mail::Box::Manager->new;
17 my $folder = $mgr->open('imap4:Inbox');
18
19 my $filter = Mail::Server::IMAP4::Search->new
20 ( ...to be defined...
21 );
22
23 my @msgs = $filter->search($folder);
24 if($filter->search($message)) {...}
25
27 THIS PACKAGES IS NOT IMPLEMENTED YET... (it's waiting for a volunteer)
28
30 Constructors
31 Mail::Server::IMAP4::Search->new(OPTIONS)
32 -Option --Defined in --Default
33 binaries Mail::Box::Search <false>
34 decode Mail::Box::Search <true>
35 delayed Mail::Box::Search <true>
36 deleted Mail::Box::Search <false>
37 deliver Mail::Box::Search undef
38 in Mail::Box::Search 'BODY'
39 label Mail::Box::Search undef
40 limit Mail::Box::Search 0
41 log Mail::Reporter 'WARNINGS'
42 logical Mail::Box::Search 'REPLACE'
43 multiparts Mail::Box::Search <true>
44 trace Mail::Reporter 'WARNINGS'
45
46 binaries => BOOLEAN
47 decode => BOOLEAN
48 delayed => BOOLEAN
49 deleted => BOOLEAN
50 deliver => undef|CODE|'DELETE'
51 in => 'HEAD'|'BODY'|'MESSAGE'
52 label => STRING
53 limit => NUMBER
54 log => LEVEL
55 logical => 'REPLACE'|'AND'|'OR'|'NOT'|'AND NOT'|'OR NOT'
56 multiparts => BOOLEAN
57 trace => LEVEL
58
59 Searching
60 $obj->inBody(PART, BODY)
61 See "Searching" in Mail::Box::Search
62
63 $obj->inHead(PART, HEAD)
64 See "Searching" in Mail::Box::Search
65
66 $obj->search(FOLDER|THREAD|MESSAGE|ARRAY-OF-MESSAGES)
67 See "Searching" in Mail::Box::Search
68
69 $obj->searchPart(PART)
70 See "Searching" in Mail::Box::Search
71
72 The Results
73 $obj->printMatch([FILEHANDLE], HASH)
74 See "The Results" in Mail::Box::Search
75
76 Error handling
77 $obj->AUTOLOAD
78 See "Error handling" in Mail::Reporter
79
80 $obj->addReport(OBJECT)
81 See "Error handling" in Mail::Reporter
82
83 $obj->defaultTrace([LEVEL]|[LOGLEVEL, TRACELEVEL]|[LEVEL, CALLBACK])
84 Mail::Server::IMAP4::Search->defaultTrace([LEVEL]|[LOGLEVEL,
85 TRACELEVEL]|[LEVEL, CALLBACK])
86
87 See "Error handling" in Mail::Reporter
88
89 $obj->errors
90 See "Error handling" in Mail::Reporter
91
92 $obj->log([LEVEL [,STRINGS]])
93 Mail::Server::IMAP4::Search->log([LEVEL [,STRINGS]])
94
95 See "Error handling" in Mail::Reporter
96
97 $obj->logPriority(LEVEL)
98 Mail::Server::IMAP4::Search->logPriority(LEVEL)
99
100 See "Error handling" in Mail::Reporter
101
102 $obj->logSettings
103 See "Error handling" in Mail::Reporter
104
105 $obj->notImplemented
106 See "Error handling" in Mail::Reporter
107
108 $obj->report([LEVEL])
109 See "Error handling" in Mail::Reporter
110
111 $obj->reportAll([LEVEL])
112 See "Error handling" in Mail::Reporter
113
114 $obj->trace([LEVEL])
115 See "Error handling" in Mail::Reporter
116
117 $obj->warnings
118 See "Error handling" in Mail::Reporter
119
120 Cleanup
121 $obj->DESTROY
122 See "Cleanup" in Mail::Reporter
123
124 $obj->inGlobalDestruction
125 See "Cleanup" in Mail::Reporter
126
128 Error: Package $package does not implement $method.
129 Fatal error: the specific package (or one of its superclasses) does
130 not implement this method where it should. This message means that
131 some other related classes do implement this method however the
132 class at hand does not. Probably you should investigate this and
133 probably inform the author of the package.
134
136 This module is part of Mail-Box distribution version 2.097, built on
137 January 26, 2011. Website: http://perl.overmeer.net/mailbox/
138
140 Copyrights 2001-2011 by Mark Overmeer. For other contributors see
141 ChangeLog.
142
143 This program is free software; you can redistribute it and/or modify it
144 under the same terms as Perl itself. See
145 http://www.perl.com/perl/misc/Artistic.html
146
147
148
149perl v5.12.3 2011-01-26 Mail::Server::IMAP4::Search(3)