Home > PHP > Function > Cyrus > cyrus_query()

cyrus_query()

cyrus_query - Send a query to a Cyrus IMAP server

Syntax

array cyrus_query (resource $connection, string $query)

Arguments

  • connection - The connection handle.
  • query - The query string.

Description

Sends a query to a Cyrus IMAP server.

Version

PHP 4.1.0, PECL cyrus 1.0

Return value

Returns an associative array with the following keys: text, msgno, and keyword.