Search for messages within a given interval. Only one interval of each
type can be specified per search query. If the IMAP server supports
the WITHIN extension (RFC 5032), it will be used. Otherwise, the
search query will be dynamically created using IMAP4rev1 search
terms.
public intervalSearch ( integer $interval, string $range, boolean $not = false, array $opts = [] ) | ||
$interval | integer | Seconds from the present. |
$range | string | Either: - Horde_Imap_Client_Search_Query::INTERVAL_OLDER - Horde_Imap_Client_Search_Query::INTERVAL_YOUNGER |
$not | boolean | If true, do a 'NOT' search. |
$opts | array | Additional options: - fuzzy: (boolean) If true, perform a fuzzy search. The IMAP server MUST support RFC 6203. |