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
32 Mail::Server::IMAP4::Search->new(OPTIONS)
33
34 Option --Defined in --Default
35 binaries Mail::Box::Search <false>
36 decode Mail::Box::Search <true>
37 delayed Mail::Box::Search <true>
38 deleted Mail::Box::Search <false>
39 deliver Mail::Box::Search undef
40 in Mail::Box::Search 'BODY'
41 label Mail::Box::Search undef
42 limit Mail::Box::Search 0
43 log Mail::Reporter 'WARNINGS'
44 logical Mail::Box::Search 'REPLACE'
45 multiparts Mail::Box::Search <true>
46 trace Mail::Reporter 'WARNINGS'
47
48 . binaries BOOLEAN
49
50 . decode BOOLEAN
51
52 . delayed BOOLEAN
53
54 . deleted BOOLEAN
55
56 . deliver undef⎪CODE⎪'DELETE'
57
58 . in 'HEAD'⎪'BODY'⎪'MESSAGE'
59
60 . label STRING
61
62 . limit NUMBER
63
64 . log LEVEL
65
66 . logical 'REPLACE'⎪'AND'⎪'OR'⎪'NOT'⎪'AND NOT'⎪'OR NOT'
67
68 . multiparts BOOLEAN
69
70 . trace LEVEL
71
72 Searching
73
74 $obj->inBody(PART, BODY)
75
76 See "Searching" in Mail::Box::Search
77
78 $obj->inHead(PART, HEAD)
79
80 See "Searching" in Mail::Box::Search
81
82 $obj->search(FOLDER⎪THREAD⎪MESSAGE⎪ARRAY-OF-MESSAGES)
83
84 See "Searching" in Mail::Box::Search
85
86 $obj->searchPart(PART)
87
88 See "Searching" in Mail::Box::Search
89
90 The Results
91
92 $obj->printMatch([FILEHANDLE], HASH)
93
94 See "The Results" in Mail::Box::Search
95
96 Error handling
97
98 $obj->AUTOLOAD
99
100 See "Error handling" in Mail::Reporter
101
102 $obj->addReport(OBJECT)
103
104 See "Error handling" in Mail::Reporter
105
106 $obj->defaultTrace([LEVEL]⎪[LOGLEVEL, TRACELEVEL]⎪[LEVEL, CALLBACK])
107
108 Mail::Server::IMAP4::Search->defaultTrace([LEVEL]⎪[LOGLEVEL,
109 TRACELEVEL]⎪[LEVEL, CALLBACK])
110
111 See "Error handling" in Mail::Reporter
112
113 $obj->errors
114
115 See "Error handling" in Mail::Reporter
116
117 $obj->log([LEVEL [,STRINGS]])
118
119 Mail::Server::IMAP4::Search->log([LEVEL [,STRINGS]])
120
121 See "Error handling" in Mail::Reporter
122
123 $obj->logPriority(LEVEL)
124
125 Mail::Server::IMAP4::Search->logPriority(LEVEL)
126
127 See "Error handling" in Mail::Reporter
128
129 $obj->logSettings
130
131 See "Error handling" in Mail::Reporter
132
133 $obj->notImplemented
134
135 See "Error handling" in Mail::Reporter
136
137 $obj->report([LEVEL])
138
139 See "Error handling" in Mail::Reporter
140
141 $obj->reportAll([LEVEL])
142
143 See "Error handling" in Mail::Reporter
144
145 $obj->trace([LEVEL])
146
147 See "Error handling" in Mail::Reporter
148
149 $obj->warnings
150
151 See "Error handling" in Mail::Reporter
152
153 Cleanup
154
155 $obj->DESTROY
156
157 See "Cleanup" in Mail::Reporter
158
159 $obj->inGlobalDestruction
160
161 See "Cleanup" in Mail::Reporter
162
164 Error: Package $package does not implement $method.
165
166 Fatal error: the specific package (or one of its superclasses) does not
167 implement this method where it should. This message means that some
168 other related classes do implement this method however the class at
169 hand does not. Probably you should investigate this and probably
170 inform the author of the package.
171
173 This module is part of Mail-Box distribution version 2.070, built on
174 March 25, 2007. Website: http://perl.overmeer.net/mailbox/
175
177 Copyrights 2001-2007 by Mark Overmeer.For other contributors see
178 ChangeLog.
179
180 This program is free software; you can redistribute it and/or modify it
181 under the same terms as Perl itself. See
182 http://www.perl.com/perl/misc/Artistic.html
183
184
185
186perl v5.8.8 2007-03-25 Mail::Server::IMAP4::Search(3)