The IMAP_Search:: class performs complex searching of an IMAP mailbox.
Classes to help with complex searching of an IMAP mailbox. The built-in PHP search() function only allows IMAPv2 search queries (see RFC 1176). This library allows more complex searches to be created (e.g. OR searches, searching specific headers).
$Horde: framework/IMAP/IMAP/Search.php,v 1.29.10.32 2009/01/06 15:23:11 jan Exp $
Copyright 2003-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
Located in /IMAP/IMAP/Search.php (line 21)
Constructor.
'pop3' => boolean (using POP3 connection?) 'charset' => string (charset of search values) 'no_imap_search' => true if the IMAP server does not support the charset in the search command
Searches messages by ALL headers (rather than the limited set provided by imap_search()).
Searches the mailbox and sorts the results.
Returns a reference to the global IMAP_Search object, only creating it if it doesn't already exist.
This method must be invoked as:
Documentation generated on Sun, 30 Jan 2011 05:21:07 +0000 by phpDocumentor 1.4.3