File/nasmail/functions/imap_search.php

Description

imap_search.php

Licensed under the GNU GPL. For full terms see the file COPYING.

IMAP search routines

  • version: $Id: imap_search.php 1446 2009-10-08 18:40:02Z tokul $
  • copyright: (c) 1999-2006 The SquirrelMail Project Team
  • copyright: (c) 2006-2007,2009 The NaSMail Project
Includes
 include_once (SM_PATH.'functions/date.php') (line 19)
 include_once (SM_PATH.'functions/mailbox_display.php') (line 20)
 include_once (SM_PATH.'functions/imap.php') (line 18)

Load up a bunch of SM functions

 include_once (SM_PATH.'functions/mime.php') (line 21)
Functions
sqimap_search (line 33)

IMAP search function.

NaSMail 1.0-1.1 uses eight arguments. Extra arguments were removed in 1.2. If you want backwards compatibility, set other five arguments to any value.

  • return: array
array sqimap_search (stream $imapConnection, string $search_where, string $search_what)
  • stream $imapConnection: IMAP connection resource
  • string $search_where: Search location
  • string $search_what: Search criteria

Documentation generated on Sun, 22 Nov 2009 17:36:39 +0200 by phpDocumentor 1.4.3